Lady for shadcn/ui

Lady is a shadcn/ui theme built around a deep pink primary color (#0e060a) with deep blue accents (#060a0e). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the deep pink primary (#0e060a) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#fcf8fasnow
#030202black
Foreground
#080205black
#fdfbfcsnow
Card
#fbf4f7lavenderblush
#070305black
Card foreground
#040102black
#ffffffwhite
Popover
#fbf4f7lavenderblush
#070305black
Popover foreground
#040102black
#ffffffwhite
Primary
#0e060ablack
#0e060ablack
Primary foreground
#c97e9epalevioletred
#c97e9epalevioletred
Secondary
#0a0e06black
#0a0e06black
Secondary foreground
#6a9e42olivedrab
#6a9e42olivedrab
Muted
#e7eee3beige
#161c11black
Muted foreground
#616161dimgray
#9e9e9edarkgray
Accent
#060a0eblack
#060a0eblack
Accent foreground
#7e9ec9cornflowerblue
#7e9ec9cornflowerblue
Destructive
#680c03maroon
#ed1b07red
Destructive foreground
#fca9a1lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0e060ablack
#0e060ablack

Contrast

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

Light mode
Text on background19.48:1AAA
Text on card19.16:1AAA
Primary button6.63:1AA
Secondary button6.09:1AA
Muted text5.21:1AA
Accent7.21:1AAA
Destructive6.91:1AA
Dark mode
Text on background20.12:1AAA
Text on card20.47:1AAA
Primary button6.63:1AA
Secondary button6.09:1AA
Muted text6.45:1AA
Accent7.21:1AAA
Destructive4.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 348.89);
  --foreground: oklch(0.106 0.019 348.404);
  --muted: oklch(0.94 0.016 131.235);
  --muted-foreground: oklch(0.492 0 180);
  --popover: oklch(0.973 0.008 348.97);
  --popover-foreground: oklch(0.084 0.015 348.404);
  --card: oklch(0.973 0.008 348.97);
  --card-foreground: oklch(0.084 0.015 348.404);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.138 0.018 350.012);
  --primary-foreground: oklch(0.68 0.102 352.602);
  --secondary: oklch(0.157 0.02 131.022);
  --secondary-foreground: oklch(0.643 0.136 133.577);
  --accent: oklch(0.141 0.013 251.657);
  --accent-foreground: oklch(0.691 0.073 255.329);
  --destructive: oklch(0.332 0.126 30.579);
  --destructive-foreground: oklch(0.813 0.1 25.203);
  --ring: oklch(0.138 0.018 350.012);
  --chart-1: oklch(0.138 0.018 350.012);
  --chart-2: oklch(0.157 0.02 131.022);
  --chart-3: oklch(0.141 0.013 251.657);
  --chart-4: oklch(0.201 0.03 132.618);
  --chart-5: oklch(0.137 0.02 350.09);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.009 348.55);
  --foreground: oklch(0.991 0.002 348.802);
  --muted: oklch(0.218 0.023 132.074);
  --muted-foreground: oklch(0.7 0 180);
  --popover: oklch(0.11 0.011 348.55);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.11 0.011 348.55);
  --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.138 0.018 350.012);
  --primary-foreground: oklch(0.68 0.102 352.602);
  --secondary: oklch(0.157 0.02 131.022);
  --secondary-foreground: oklch(0.643 0.136 133.577);
  --accent: oklch(0.141 0.013 251.657);
  --accent-foreground: oklch(0.691 0.073 255.329);
  --destructive: oklch(0.602 0.238 30.023);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.138 0.018 350.012);
  --chart-1: oklch(0.138 0.018 350.012);
  --chart-2: oklch(0.157 0.02 131.022);
  --chart-3: oklch(0.141 0.013 251.657);
  --chart-4: oklch(0.201 0.03 132.618);
  --chart-5: oklch(0.137 0.02 350.09);
}