Luxurious Hair for shadcn/ui

Luxurious Hair is a shadcn/ui theme built around a yellow primary color (#d0ad4e) with muted violet accents (#b299bb). The light mode uses a yellow-tinted background (#eeece4). Dark mode keeps the yellow primary (#d0ad4e) on a pink-tinted background (#130a0f).

Color palette

TokenLightDark
Background
#eeece4linen
#130a0fblack
Foreground
#0c0a03black
#ffffffwhite
Card
#faf8f5whitesmoke
#070603black
Card foreground
#080702black
#ffffffwhite
Popover
#fffaebfloralwhite
#070603black
Popover foreground
#080702black
#ffffffwhite
Primary
#d0ad4edarkkhaki
#d0ad4edarkkhaki
Primary foreground
#030301black
#000000black
Secondary
#82bdb8mediumaquamarine
#82b9abdarkseagreen
Secondary foreground
#000000black
#000000black
Muted
#f8f8eefloralwhite
#1a1e1dblack
Muted foreground
#48514fdarkslategray
#aeb7b5darkgray
Accent
#b299bbdarkgray
#5a4163dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#981201darkred
#8a3024saddlebrown
Destructive foreground
#ffd2ccpink
#ffffffwhite
Border
#d7cbaasilver
#1e1d1ablack
Input
#e5e4e1gainsboro
#1e1d1ablack
Ring
#d0ad4edarkkhaki
#d0ad4edarkkhaki

Contrast

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

Light mode
Text on background16.70:1AAA
Text on card19.06:1AAA
Primary button9.61:1AAA
Secondary button9.93:1AAA
Muted text7.66:1AAA
Accent2.57:1Fail
Destructive6.31:1AA
Dark mode
Text on background19.52:1AAA
Text on card20.24:1AAA
Primary button9.77:1AAA
Secondary button9.50:1AAA
Muted text8.18:1AAA
Accent8.83:1AAA
Destructive8.30:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.942 0.011 90.205);
  --foreground: oklch(0.144 0.019 94.97);
  --muted: oklch(0.976 0.013 109.261);
  --muted-foreground: oklch(0.426 0.012 177.924);
  --popover: oklch(0.984 0.02 90.266);
  --popover-foreground: oklch(0.126 0.017 95.779);
  --card: oklch(0.98 0.005 90.158);
  --card-foreground: oklch(0.126 0.017 95.779);
  --border: oklch(0.843 0.046 90.414);
  --input: oklch(0.919 0.005 90.159);
  --primary: oklch(0.761 0.121 89.212);
  --primary-foreground: oklch(0.093 0.011 104.482);
  --secondary: oklch(0.757 0.062 188.519);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.716 0.057 317.008);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.435 0.168 31.11);
  --destructive-foreground: oklch(0.901 0.051 26.922);
  --ring: oklch(0.761 0.121 89.212);
  --chart-1: oklch(0.761 0.121 89.212);
  --chart-2: oklch(0.757 0.062 188.519);
  --chart-3: oklch(0.716 0.057 317.008);
  --chart-4: oklch(0.776 0.058 188.727);
  --chart-5: oklch(0.767 0.125 89.014);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.158 0.02 340.788);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.232 0.007 177.872);
  --muted-foreground: oklch(0.772 0.011 178.377);
  --popover: oklch(0.123 0.012 94.265);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.123 0.012 94.265);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.231 0.006 90.308);
  --input: oklch(0.231 0.006 90.308);
  --primary: oklch(0.761 0.121 89.212);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.744 0.062 176.108);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.417 0.063 316.901);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.439 0.126 30.343);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.761 0.121 89.212);
  --chart-1: oklch(0.761 0.121 89.212);
  --chart-2: oklch(0.744 0.062 176.108);
  --chart-3: oklch(0.417 0.063 316.901);
  --chart-4: oklch(0.764 0.057 176.416);
  --chart-5: oklch(0.767 0.125 89.014);
}