Quinoa for shadcn/ui

Quinoa is a shadcn/ui theme built around a deep red primary color (#100507) with deep orange accents (#100805). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the deep red primary (#100507) on a neutral background (#080304).

Color palette

TokenLightDark
Background
#fcf8f9snow
#080304black
Foreground
#090103black
#f9f5f6whitesmoke
Card
#fbf4f5lavenderblush
#0b0405black
Card foreground
#040101black
#fbf9f9snow
Popover
#fbf4f5lavenderblush
#0b0405black
Popover foreground
#040101black
#fbf9f9snow
Primary
#100507black
#100507black
Primary foreground
#d57285palevioletred
#d57285palevioletred
Secondary
#10050cblack
#10050cblack
Secondary foreground
#d572b7orchid
#d572b7orchid
Muted
#e1d5degainsboro
#2a1e26darkslategray
Muted foreground
#4c3e48darkslategray
#c1b3bdsilver
Accent
#100805black
#100805black
Accent foreground
#d58f72darksalmon
#d58f72darksalmon
Destructive
#b81a0ffirebrick
#d41e11firebrick
Destructive foreground
#fffbfasnow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#100507black
#100507black

Contrast

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

Light mode
Text on background19.55:1AAA
Text on card19.16:1AAA
Primary button6.29:1AA
Secondary button6.60:1AA
Muted text7.08:1AAA
Accent7.56:1AAA
Destructive6.39:1AA
Dark mode
Text on background18.98:1AAA
Text on card19.36:1AAA
Primary button6.29:1AA
Secondary button6.60:1AA
Muted text7.99:1AAA
Accent7.56:1AAA
Destructive5.24:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 3.32);
  --foreground: oklch(0.101 0.025 3.573);
  --muted: oklch(0.886 0.017 336.236);
  --muted-foreground: oklch(0.382 0.025 337.035);
  --popover: oklch(0.973 0.007 3.39);
  --popover-foreground: oklch(0.08 0.02 3.573);
  --card: oklch(0.973 0.007 3.39);
  --card-foreground: oklch(0.08 0.02 3.573);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.134 0.023 4.685);
  --primary-foreground: oklch(0.668 0.125 8.32);
  --secondary: oklch(0.137 0.028 338.033);
  --secondary-foreground: oklch(0.685 0.149 339.665);
  --accent: oklch(0.144 0.017 50.038);
  --accent-foreground: oklch(0.714 0.095 43.98);
  --destructive: oklch(0.502 0.192 29.683);
  --destructive-foreground: oklch(0.99 0.004 22.263);
  --ring: oklch(0.134 0.023 4.685);
  --chart-1: oklch(0.134 0.023 4.685);
  --chart-2: oklch(0.137 0.028 338.033);
  --chart-3: oklch(0.144 0.017 50.038);
  --chart-4: oklch(0.173 0.041 339.906);
  --chart-5: oklch(0.133 0.025 4.779);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.106 0.016 3.405);
  --foreground: oklch(0.975 0.004 3.301);
  --muted: oklch(0.252 0.024 337.572);
  --muted-foreground: oklch(0.782 0.02 336.355);
  --popover: oklch(0.122 0.018 3.511);
  --popover-foreground: oklch(0.983 0.003 3.261);
  --card: oklch(0.122 0.018 3.511);
  --card-foreground: oklch(0.983 0.003 3.261);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.134 0.023 4.685);
  --primary-foreground: oklch(0.668 0.125 8.32);
  --secondary: oklch(0.137 0.028 338.033);
  --secondary-foreground: oklch(0.685 0.149 339.665);
  --accent: oklch(0.144 0.017 50.038);
  --accent-foreground: oklch(0.714 0.095 43.98);
  --destructive: oklch(0.557 0.214 29.709);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.134 0.023 4.685);
  --chart-1: oklch(0.134 0.023 4.685);
  --chart-2: oklch(0.137 0.028 338.033);
  --chart-3: oklch(0.144 0.017 50.038);
  --chart-4: oklch(0.173 0.041 339.906);
  --chart-5: oklch(0.133 0.025 4.779);
}