Coquelicot Cod for shadcn/ui

Coquelicot Cod is a shadcn/ui theme built around a vivid red primary color (#ff3c00) with muted light red accents (#ece6e4). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the vivid red primary (#ff3c00) on a red-tinted background (#0a0605).

Color palette

TokenLightDark
Background
#fcf9f8snow
#0a0605black
Foreground
#110703black
#fbf9f9snow
Card
#fcf9f8snow
#0a0605black
Card foreground
#110703black
#fbf9f9snow
Popover
#fcf9f8snow
#0a0605black
Popover foreground
#110703black
#fbf9f9snow
Primary
#ff3c00orangered
#ff3c00orangered
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ece6e4linen
#2b2421darkslategray
Secondary foreground
#5e4740darkolivegreen
#c8bbb7silver
Muted
#efeceblinen
#141110black
Muted foreground
#635c5adimgray
#a59e9cdarkgray
Accent
#ece6e4linen
#2b2421darkslategray
Accent foreground
#5e4740darkolivegreen
#c8bbb7silver
Destructive
#be4613firebrick
#df5216chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e3dfdegainsboro
#2a2423darkslategray
Input
#e3dfdegainsboro
#2a2423darkslategray
Ring
#ff3c00orangered
#ff3c00orangered

Contrast

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

Light mode
Text on background18.95:1AAA
Text on card18.95:1AAA
Primary button3.56:1AA Large
Secondary button6.92:1AA
Muted text5.57:1AA
Accent6.92:1AA
Destructive5.13:1AA
Dark mode
Text on background19.19:1AAA
Text on card19.19:1AAA
Primary button3.56:1AA Large
Secondary button8.18:1AAA
Muted text7.14:1AAA
Accent8.18:1AAA
Destructive3.92:1AA Large

CSS variables

Paste this into your globals.css to use Coquelicot Cod in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.004 37.722);
  --foreground: oklch(0.141 0.023 44.787);
  --muted: oklch(0.945 0.003 37.724);
  --muted-foreground: oklch(0.48 0.01 37.655);
  --popover: oklch(0.984 0.004 37.722);
  --popover-foreground: oklch(0.141 0.023 44.787);
  --card: oklch(0.984 0.004 37.722);
  --card-foreground: oklch(0.141 0.023 44.787);
  --border: oklch(0.906 0.005 37.715);
  --input: oklch(0.906 0.005 37.715);
  --primary: oklch(0.652 0.236 33.804);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.929 0.008 37.702);
  --secondary-foreground: oklch(0.421 0.034 37.597);
  --accent: oklch(0.929 0.008 37.702);
  --accent-foreground: oklch(0.421 0.034 37.597);
  --destructive: oklch(0.554 0.165 39.851);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.652 0.236 33.804);
  --chart-1: oklch(0.652 0.236 33.804);
  --chart-2: oklch(0.929 0.008 37.702);
  --chart-3: oklch(0.929 0.008 37.702);
  --chart-4: oklch(0.953 0.005 37.716);
  --chart-5: oklch(0.657 0.241 33.556);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.009 41.515);
  --foreground: oklch(0.984 0.002 37.732);
  --muted: oklch(0.18 0.005 37.631);
  --muted-foreground: oklch(0.705 0.009 37.683);
  --popover: oklch(0.13 0.009 41.515);
  --popover-foreground: oklch(0.984 0.002 37.732);
  --card: oklch(0.13 0.009 41.515);
  --card-foreground: oklch(0.984 0.002 37.732);
  --border: oklch(0.267 0.009 37.626);
  --input: oklch(0.267 0.009 37.626);
  --primary: oklch(0.652 0.236 33.804);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.266 0.012 37.602);
  --secondary-foreground: oklch(0.801 0.015 37.66);
  --accent: oklch(0.266 0.012 37.602);
  --accent-foreground: oklch(0.801 0.015 37.66);
  --destructive: oklch(0.622 0.187 39.645);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.652 0.236 33.804);
  --chart-1: oklch(0.652 0.236 33.804);
  --chart-2: oklch(0.266 0.012 37.602);
  --chart-3: oklch(0.266 0.012 37.602);
  --chart-4: oklch(0.297 0.014 37.599);
  --chart-5: oklch(0.657 0.241 33.556);
}