Pricey for shadcn/ui

Pricey is a shadcn/ui theme built around a red primary color (#8a4246) with orange accents (#8a6242). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the red primary (#8a4246) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8f8snow
#000000black
Foreground
#080202black
#fbf9f9snow
Card
#faf4f5whitesmoke
#030303black
Card foreground
#040101black
#fdfcfcsnow
Popover
#fcf8f8snow
#000000black
Popover foreground
#080202black
#fbf9f9snow
Primary
#8a4246sienna
#8a4246sienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#8a426adimgray
#8a426adimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e6d0dcgainsboro
#2f1925black
Muted foreground
#513d48darkslategray
#c2aeb9silver
Accent
#8a6242sienna
#8a6242sienna
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#60150bmaroon
#e73e27orangered
Destructive foreground
#f5b1a8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8a4246sienna
#8a4246sienna

Contrast

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

Light mode
Text on background19.52:1AAA
Text on card19.19:1AAA
Primary button7.11:1AAA
Secondary button6.84:1AA
Muted text6.84:1AA
Accent5.35:1AA
Destructive7.28:1AAA
Dark mode
Text on background20.02:1AAA
Text on card20.19:1AAA
Primary button7.11:1AAA
Secondary button6.84:1AA
Muted text7.83:1AAA
Accent5.35:1AA
Destructive4.10:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 13.691);
  --foreground: oklch(0.103 0.019 16.143);
  --muted: oklch(0.88 0.029 343.417);
  --muted-foreground: oklch(0.387 0.033 344.582);
  --popover: oklch(0.982 0.004 13.691);
  --popover-foreground: oklch(0.103 0.019 16.143);
  --card: oklch(0.973 0.006 13.734);
  --card-foreground: oklch(0.082 0.015 16.143);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.472 0.097 18.417);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.484 0.109 347.761);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.531 0.069 59.84);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.325 0.11 30.963);
  --destructive-foreground: oklch(0.822 0.082 27.419);
  --ring: oklch(0.472 0.097 18.417);
  --chart-1: oklch(0.472 0.097 18.417);
  --chart-2: oklch(0.484 0.109 347.761);
  --chart-3: oklch(0.531 0.069 59.84);
  --chart-4: oklch(0.509 0.115 347.805);
  --chart-5: oklch(0.471 0.106 18.951);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.984 0.002 13.642);
  --muted: oklch(0.247 0.04 346.339);
  --muted-foreground: oklch(0.77 0.027 343.47);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.984 0.002 13.642);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.992 0.001 13.625);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.472 0.097 18.417);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.484 0.109 347.761);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.531 0.069 59.84);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.614 0.209 30.984);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.472 0.097 18.417);
  --chart-1: oklch(0.472 0.097 18.417);
  --chart-2: oklch(0.484 0.109 347.761);
  --chart-3: oklch(0.531 0.069 59.84);
  --chart-4: oklch(0.509 0.115 347.805);
  --chart-5: oklch(0.471 0.106 18.951);
}