Root Brown Wombat for shadcn/ui

Root Brown Wombat is a shadcn/ui theme built around a deep red primary color (#6c3328) with muted light red accents (#d4c7c4). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep red primary (#6c3328) on a red-tinted background (#0a0605).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0605black
Foreground
#0c0504black
#ffffffwhite
Card
#fcfcfcsnow
#0e0806black
Card foreground
#080302black
#ffffffwhite
Popover
#ffffffwhite
#0a0605black
Popover foreground
#0c0504black
#ffffffwhite
Primary
#6c3328saddlebrown
#6c3328saddlebrown
Primary foreground
#f0dad6antiquewhite
#f0dad6antiquewhite
Secondary
#e3dfdegainsboro
#1d1716black
Secondary foreground
#4e4341darkslategray
#bcaca9darkgray
Muted
#eceae9linen
#161413black
Muted foreground
#5c4f4ddimgray
#b2a6a3darkgray
Accent
#d4c7c4lightgrey
#382724darkslategray
Accent foreground
#3b2e2bdarkslategray
#d3bfbbsilver
Destructive
#c14b10chocolate
#ef7639tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#f3f2f2whitesmoke
#222120black
Input
#f3f2f2whitesmoke
#222120black
Ring
#6c3328saddlebrown
#6c3328saddlebrown

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.20:1AAA
Text on card20.06:1AAA
Primary button7.31:1AAA
Secondary button7.18:1AAA
Muted text6.52:1AA
Accent7.89:1AAA
Destructive4.89:1AA
Dark mode
Text on background20.17:1AAA
Text on card19.90:1AAA
Primary button7.31:1AAA
Secondary button8.08:1AAA
Muted text7.78:1AAA
Accent8.02:1AAA
Destructive7.29:1AAA

CSS variables

Paste this into your globals.css to use Root Brown Wombat in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.126 0.015 36.368);
  --muted: oklch(0.938 0.002 31.048);
  --muted-foreground: oklch(0.44 0.017 31.169);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.126 0.015 36.368);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.11 0.013 36.492);
  --border: oklch(0.962 0 31.045);
  --input: oklch(0.962 0 31.045);
  --primary: oklch(0.395 0.084 32.653);
  --primary-foreground: oklch(0.906 0.025 31.115);
  --secondary: oklch(0.906 0.005 31.054);
  --secondary-foreground: oklch(0.394 0.015 31.165);
  --accent: oklch(0.839 0.016 31.086);
  --accent-foreground: oklch(0.314 0.021 31.32);
  --destructive: oklch(0.565 0.165 41.683);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.395 0.084 32.653);
  --chart-1: oklch(0.395 0.084 32.653);
  --chart-2: oklch(0.906 0.005 31.054);
  --chart-3: oklch(0.839 0.016 31.086);
  --chart-4: oklch(0.929 0.004 31.051);
  --chart-5: oklch(0.395 0.089 32.777);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.128 0.011 34.651);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.192 0.003 31.083);
  --muted-foreground: oklch(0.734 0.015 31.092);
  --popover: oklch(0.128 0.011 34.651);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.141 0.012 33.807);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.248 0.002 31.056);
  --input: oklch(0.248 0.002 31.056);
  --primary: oklch(0.395 0.084 32.653);
  --primary-foreground: oklch(0.906 0.025 31.115);
  --secondary: oklch(0.212 0.009 31.187);
  --secondary-foreground: oklch(0.757 0.02 31.112);
  --accent: oklch(0.293 0.025 31.461);
  --accent-foreground: oklch(0.82 0.023 31.119);
  --destructive: oklch(0.696 0.167 44.783);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.395 0.084 32.653);
  --chart-1: oklch(0.395 0.084 32.653);
  --chart-2: oklch(0.212 0.009 31.187);
  --chart-3: oklch(0.293 0.025 31.461);
  --chart-4: oklch(0.244 0.012 31.208);
  --chart-5: oklch(0.395 0.089 32.777);
}