Coquelicot Finch for shadcn/ui

Coquelicot Finch is a shadcn/ui theme built around a vivid red primary color (#ff3c00) with vivid yellow accents (#ffbb00). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid red primary (#ff3c00) on a red-tinted background (#100705).

Color palette

TokenLightDark
Background
#fefcfbsnow
#100705black
Foreground
#090302black
#f9f6f5whitesmoke
Card
#fdf8f7snow
#140906black
Card foreground
#040201black
#fbf9f9snow
Popover
#fdf8f7snow
#140906black
Popover foreground
#040201black
#fbf9f9snow
Primary
#ff3c00orangered
#ff3c00orangered
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#ff0044crimson
#ff0044crimson
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ddd5d7gainsboro
#2a2224darkslategray
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#ffbb00orange
#ffbb00orange
Accent foreground
#332500black
#332500black
Destructive
#971c11brown
#ea5143tomato
Destructive foreground
#fbe1dfmistyrose
#ffffffwhite
Border
#ede9e8linen
#1d1816black
Input
#ede9e8linen
#1d1816black
Ring
#ff3c00orangered
#ff3c00orangered

Contrast

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

Light mode
Text on background19.97:1AAA
Text on card19.69:1AAA
Primary button3.56:1AA Large
Secondary button3.93:1AA Large
Muted text5.23:1AA
Accent8.79:1AAA
Destructive6.77:1AA
Dark mode
Text on background18.50:1AAA
Text on card18.69:1AAA
Primary button3.56:1AA Large
Secondary button3.93:1AA Large
Muted text6.74:1AA
Accent8.79:1AAA
Destructive3.65:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 37.729);
  --foreground: oklch(0.111 0.016 46.921);
  --muted: oklch(0.879 0.01 359.098);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(0.983 0.005 37.716);
  --popover-foreground: oklch(0.088 0.013 46.921);
  --card: oklch(0.983 0.005 37.716);
  --card-foreground: oklch(0.088 0.013 46.921);
  --border: oklch(0.938 0.004 37.719);
  --input: oklch(0.938 0.004 37.719);
  --primary: oklch(0.652 0.236 33.804);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.633 0.254 19.902);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.833 0.172 82.058);
  --accent-foreground: oklch(0.275 0.056 87.88);
  --destructive: oklch(0.441 0.16 29.952);
  --destructive-foreground: oklch(0.931 0.029 23.911);
  --ring: oklch(0.652 0.236 33.804);
  --chart-1: oklch(0.652 0.236 33.804);
  --chart-2: oklch(0.633 0.254 19.902);
  --chart-3: oklch(0.833 0.172 82.058);
  --chart-4: oklch(0.637 0.251 17.494);
  --chart-5: oklch(0.657 0.241 33.556);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.142 0.018 42.738);
  --foreground: oklch(0.976 0.003 37.725);
  --muted: oklch(0.263 0.013 0.195);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0.155 0.021 40.723);
  --popover-foreground: oklch(0.984 0.002 37.731);
  --card: oklch(0.155 0.021 40.723);
  --card-foreground: oklch(0.984 0.002 37.731);
  --border: oklch(0.213 0.008 37.614);
  --input: oklch(0.213 0.008 37.614);
  --primary: oklch(0.652 0.236 33.804);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.633 0.254 19.902);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.833 0.172 82.058);
  --accent-foreground: oklch(0.275 0.056 87.88);
  --destructive: oklch(0.642 0.192 28.716);
  --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.633 0.254 19.902);
  --chart-3: oklch(0.833 0.172 82.058);
  --chart-4: oklch(0.637 0.251 17.494);
  --chart-5: oklch(0.657 0.241 33.556);
}