Worst for shadcn/ui

Worst is a shadcn/ui theme built around a muted light pink primary color (#d7b7c2) with muted light teal accents (#b7d7cc). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the muted light pink primary (#d7b7c2) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#fdf7f9snow
#040102black
Foreground
#0d0206black
#fdfcfcsnow
Card
#fcf3f6lavenderblush
#070304black
Card foreground
#090104black
#ffffffwhite
Popover
#fcf3f6lavenderblush
#070304black
Popover foreground
#090104black
#ffffffwhite
Primary
#d7b7c2thistle
#d7b7c2thistle
Primary foreground
#3b212adarkslategray
#3b212adarkslategray
Secondary
#b7d7cclightsteelblue
#b7d7cclightsteelblue
Secondary foreground
#213b32darkslategray
#213b32darkslategray
Muted
#dcefe9lavender
#10231dblack
Muted foreground
#626464dimgray
#9b9d9cdarkgray
Accent
#b7d7cclightsteelblue
#b7d7cclightsteelblue
Accent foreground
#213b32darkslategray
#213b32darkslategray
Destructive
#9a130edarkred
#ed413btomato
Destructive foreground
#fcdfdemistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d7b7c2thistle
#d7b7c2thistle

Contrast

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

Light mode
Text on background19.28:1AAA
Text on card18.92:1AAA
Primary button7.96:1AAA
Secondary button7.81:1AAA
Muted text4.99:1AA
Accent7.81:1AAA
Destructive6.77:1AA
Dark mode
Text on background20.26:1AAA
Text on card20.50:1AAA
Primary button7.96:1AAA
Secondary button7.81:1AAA
Muted text5.99:1AA
Accent7.81:1AAA
Destructive3.88:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.007 354.791);
  --foreground: oklch(0.116 0.032 354.671);
  --muted: oklch(0.937 0.023 173.862);
  --muted-foreground: oklch(0.503 0.003 174.431);
  --popover: oklch(0.972 0.01 354.896);
  --popover-foreground: oklch(0.101 0.027 354.056);
  --card: oklch(0.972 0.01 354.896);
  --card-foreground: oklch(0.101 0.027 354.056);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.81 0.039 355.92);
  --primary-foreground: oklch(0.285 0.042 358.589);
  --secondary: oklch(0.852 0.036 173.282);
  --secondary-foreground: oklch(0.327 0.035 170.835);
  --accent: oklch(0.852 0.036 173.282);
  --accent-foreground: oklch(0.327 0.035 170.835);
  --destructive: oklch(0.439 0.168 28.806);
  --destructive-foreground: oklch(0.928 0.032 20.106);
  --ring: oklch(0.81 0.039 355.92);
  --chart-1: oklch(0.81 0.039 355.92);
  --chart-2: oklch(0.852 0.036 173.282);
  --chart-3: oklch(0.852 0.036 173.282);
  --chart-4: oklch(0.872 0.031 173.498);
  --chart-5: oklch(0.808 0.043 356.065);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.011 354.338);
  --foreground: oklch(0.991 0.002 354.651);
  --muted: oklch(0.239 0.029 170.196);
  --muted-foreground: oklch(0.693 0.002 174.483);
  --popover: oklch(0.108 0.014 354.338);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.108 0.014 354.338);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.81 0.039 355.92);
  --primary-foreground: oklch(0.285 0.042 358.589);
  --secondary: oklch(0.852 0.036 173.282);
  --secondary-foreground: oklch(0.327 0.035 170.835);
  --accent: oklch(0.852 0.036 173.282);
  --accent-foreground: oklch(0.327 0.035 170.835);
  --destructive: oklch(0.629 0.209 27.134);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.81 0.039 355.92);
  --chart-1: oklch(0.81 0.039 355.92);
  --chart-2: oklch(0.852 0.036 173.282);
  --chart-3: oklch(0.852 0.036 173.282);
  --chart-4: oklch(0.872 0.031 173.498);
  --chart-5: oklch(0.808 0.043 356.065);
}