Complicated for shadcn/ui

Complicated is a shadcn/ui theme built around a neutral gray primary color (#b9b1b5) with muted light pink accents (#d0c8cb). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#b9b1b5) on a neutral background (#070305).

Color palette

TokenLightDark
Background
#ffffffwhite
#070305black
Foreground
#0d0207black
#fdfcfcsnow
Card
#ffffffwhite
#070305black
Card foreground
#0d0207black
#fdfcfcsnow
Popover
#ffffffwhite
#070305black
Popover foreground
#0d0207black
#fdfcfcsnow
Primary
#b9b1b5silver
#b9b1b5silver
Primary foreground
#1d1b1cblack
#1d1b1cblack
Secondary
#d0c8cblightgrey
#242424darkslategray
Secondary foreground
#372f32darkslategray
#bdbdbdsilver
Muted
#f4f0f2whitesmoke
#0f0b0bblack
Muted foreground
#565254dimgray
#ada9a9darkgray
Accent
#d0c8cblightgrey
#242424darkslategray
Accent foreground
#372f32darkslategray
#bdbdbdsilver
Destructive
#bc2d10firebrick
#e63714orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b9b1b5silver
#b9b1b5silver

Contrast

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

Light mode
Text on background20.41:1AAA
Text on card20.41:1AAA
Primary button8.18:1AAA
Secondary button7.92:1AAA
Muted text6.82:1AA
Accent7.92:1AAA
Destructive5.98:1AA
Dark mode
Text on background19.99:1AAA
Text on card19.99:1AAA
Primary button8.18:1AAA
Secondary button8.29:1AAA
Muted text8.42:1AAA
Accent8.29:1AAA
Destructive4.27:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.119 0.03 348.844);
  --muted: oklch(0.96 0.005 348.867);
  --muted-foreground: oklch(0.444 0.005 349.041);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.119 0.03 348.844);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.119 0.03 348.844);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.769 0.009 349.074);
  --primary-foreground: oklch(0.224 0.005 349.333);
  --secondary: oklch(0.84 0.01 349.07);
  --secondary-foreground: oklch(0.315 0.013 349.863);
  --accent: oklch(0.84 0.01 349.07);
  --accent-foreground: oklch(0.315 0.013 349.863);
  --destructive: oklch(0.522 0.183 32.74);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.769 0.009 349.074);
  --chart-1: oklch(0.769 0.009 349.074);
  --chart-2: oklch(0.84 0.01 349.07);
  --chart-3: oklch(0.84 0.01 349.07);
  --chart-4: oklch(0.865 0.009 349.01);
  --chart-5: oklch(0.766 0.015 349.278);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.11 0.011 348.544);
  --foreground: oklch(0.992 0.001 348.758);
  --muted: oklch(0.154 0.007 17.9);
  --muted-foreground: oklch(0.738 0.004 17.244);
  --popover: oklch(0.11 0.011 348.544);
  --popover-foreground: oklch(0.992 0.001 348.758);
  --card: oklch(0.11 0.011 348.544);
  --card-foreground: oklch(0.992 0.001 348.758);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.769 0.009 349.074);
  --primary-foreground: oklch(0.224 0.005 349.333);
  --secondary: oklch(0.259 0 167.471);
  --secondary-foreground: oklch(0.797 0 180);
  --accent: oklch(0.259 0 167.471);
  --accent-foreground: oklch(0.797 0 180);
  --destructive: oklch(0.606 0.215 32.639);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.769 0.009 349.074);
  --chart-1: oklch(0.769 0.009 349.074);
  --chart-2: oklch(0.259 0 167.471);
  --chart-3: oklch(0.259 0 167.471);
  --chart-4: oklch(0.29 0 180);
  --chart-5: oklch(0.766 0.015 349.278);
}