Lotti Red Grouse for shadcn/ui

Lotti Red Grouse is a shadcn/ui theme built around a vivid red primary color (#e11d48) with near-white accents (#f4f4f5). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#e11d48) on an orange-tinted background (#0c0a09).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0a09black
Foreground
#09090bblack
#f2f2f2whitesmoke
Card
#ffffffwhite
#1c1917black
Card foreground
#09090bblack
#f2f2f2whitesmoke
Popover
#ffffffwhite
#171717black
Popover foreground
#09090bblack
#f2f2f2whitesmoke
Primary
#e11d48crimson
#e11d48crimson
Primary foreground
#fff1f2lavenderblush
#fff1f2lavenderblush
Secondary
#f4f4f5whitesmoke
#27272adarkslategray
Secondary foreground
#18181bblack
#fafafasnow
Muted
#f4f4f5whitesmoke
#262626darkslategray
Muted foreground
#71717adimgray
#a1a1aadarkgray
Accent
#f4f4f5whitesmoke
#292524darkslategray
Accent foreground
#18181bblack
#fafafasnow
Destructive
#ef4444tomato
#7f1d1dmaroon
Destructive foreground
#fafafasnow
#fef2f2lavenderblush
Border
#e4e4e7gainsboro
#27272adarkslategray
Input
#e4e4e7gainsboro
#27272adarkslategray
Ring
#e11d48crimson
#e11d48crimson

Contrast

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

Light mode
Text on background19.89:1AAA
Text on card19.89:1AAA
Primary button4.27:1AA Large
Secondary button16.12:1AAA
Muted text4.39:1AA Large
Accent16.12:1AAA
Destructive3.60:1AA Large
Dark mode
Text on background17.65:1AAA
Text on card15.62:1AAA
Primary button4.27:1AA Large
Secondary button14.26:1AAA
Muted text5.88:1AA
Accent14.53:1AAA
Destructive9.15:1AAA

CSS variables

Paste this into your globals.css to use Lotti Red Grouse in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.141 0.004 285.824);
  --muted: oklch(0.968 0.001 286.375);
  --muted-foreground: oklch(0.552 0.014 285.942);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.141 0.004 285.824);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.141 0.004 285.824);
  --border: oklch(0.92 0.004 286.32);
  --input: oklch(0.92 0.004 286.32);
  --primary: oklch(0.586 0.222 17.555);
  --primary-foreground: oklch(0.97 0.015 12.399);
  --secondary: oklch(0.968 0.001 286.375);
  --secondary-foreground: oklch(0.21 0.006 285.883);
  --accent: oklch(0.968 0.001 286.375);
  --accent-foreground: oklch(0.21 0.006 285.883);
  --destructive: oklch(0.637 0.208 25.326);
  --destructive-foreground: oklch(0.985 0 180);
  --ring: oklch(0.586 0.222 17.555);
  --chart-1: oklch(0.586 0.222 17.555);
  --chart-2: oklch(0.968 0.001 286.375);
  --chart-3: oklch(0.968 0.001 286.375);
  --chart-4: oklch(0.991 0 286.393);
  --chart-5: oklch(0.591 0.227 18.274);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.147 0.004 49.314);
  --foreground: oklch(0.962 0 180);
  --muted: oklch(0.27 0 180);
  --muted-foreground: oklch(0.712 0.013 286.068);
  --popover: oklch(0.204 0 180);
  --popover-foreground: oklch(0.962 0 180);
  --card: oklch(0.216 0.006 56.043);
  --card-foreground: oklch(0.962 0 180);
  --border: oklch(0.274 0.005 286.033);
  --input: oklch(0.274 0.005 286.033);
  --primary: oklch(0.586 0.222 17.555);
  --primary-foreground: oklch(0.97 0.015 12.399);
  --secondary: oklch(0.274 0.005 286.033);
  --secondary-foreground: oklch(0.985 0 180);
  --accent: oklch(0.269 0.006 34.297);
  --accent-foreground: oklch(0.985 0 180);
  --destructive: oklch(0.396 0.133 25.721);
  --destructive-foreground: oklch(0.971 0.013 17.376);
  --ring: oklch(0.586 0.222 17.555);
  --chart-1: oklch(0.586 0.222 17.555);
  --chart-2: oklch(0.274 0.005 286.033);
  --chart-3: oklch(0.269 0.006 34.297);
  --chart-4: oklch(0.304 0.006 286.017);
  --chart-5: oklch(0.591 0.227 18.274);
}