Empowerment for shadcn/ui

Empowerment is a shadcn/ui theme built around a pink primary color (#db759e) with muted light pink accents (#d8cbd0). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#db759e) on a pink-tinted background (#0f0509).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f0509black
Foreground
#040102black
#faf4f7whitesmoke
Card
#fcfcfcsnow
#13070cblack
Card foreground
#000000black
#fcf8fasnow
Popover
#fcfcfcsnow
#13070cblack
Popover foreground
#000000black
#fcf8fasnow
Primary
#db759epalevioletred
#db759epalevioletred
Primary foreground
#18060dblack
#18060dblack
Secondary
#d8cbd0lightgrey
#35272ddarkslategray
Secondary foreground
#403037darkslategray
#cfbec5silver
Muted
#e5e1e3gainsboro
#1e1a1cblack
Muted foreground
#605c5edimgray
#a39fa0darkgray
Accent
#d8cbd0lightgrey
#35272ddarkslategray
Accent foreground
#403037darkslategray
#cfbec5silver
Destructive
#c43612firebrick
#d23a14firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#db759epalevioletred
#db759epalevioletred

Contrast

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

Light mode
Text on background20.78:1AAA
Text on card20.54:1AAA
Primary button6.60:1AA
Secondary button7.85:1AAA
Muted text5.07:1AA
Accent7.85:1AAA
Destructive5.41:1AA
Dark mode
Text on background18.46:1AAA
Text on card18.78:1AAA
Primary button6.60:1AA
Secondary button8.00:1AAA
Muted text6.58:1AA
Accent8.00:1AAA
Destructive4.83:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.083 0.017 350.223);
  --muted: oklch(0.913 0.005 350.791);
  --muted-foreground: oklch(0.48 0.005 350.938);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.69 0.135 355.871);
  --primary-foreground: oklch(0.159 0.035 355.65);
  --secondary: oklch(0.853 0.016 351.144);
  --secondary-foreground: oklch(0.33 0.025 352.662);
  --accent: oklch(0.853 0.016 351.144);
  --accent-foreground: oklch(0.33 0.025 352.662);
  --destructive: oklch(0.545 0.184 34.172);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.69 0.135 355.871);
  --chart-1: oklch(0.69 0.135 355.871);
  --chart-2: oklch(0.853 0.016 351.144);
  --chart-3: oklch(0.853 0.016 351.144);
  --chart-4: oklch(0.878 0.013 351.042);
  --chart-5: oklch(0.689 0.141 356.155);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.021 351.965);
  --foreground: oklch(0.974 0.007 350.824);
  --muted: oklch(0.223 0.008 351.589);
  --muted-foreground: oklch(0.705 0.005 350.818);
  --popover: oklch(0.149 0.024 353.858);
  --popover-foreground: oklch(0.982 0.005 350.756);
  --card: oklch(0.149 0.024 353.858);
  --card-foreground: oklch(0.982 0.005 350.756);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.69 0.135 355.871);
  --primary-foreground: oklch(0.159 0.035 355.65);
  --secondary: oklch(0.291 0.023 352.715);
  --secondary-foreground: oklch(0.819 0.021 351.338);
  --accent: oklch(0.291 0.023 352.715);
  --accent-foreground: oklch(0.819 0.021 351.338);
  --destructive: oklch(0.573 0.195 34.124);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.69 0.135 355.871);
  --chart-1: oklch(0.69 0.135 355.871);
  --chart-2: oklch(0.291 0.023 352.715);
  --chart-3: oklch(0.291 0.023 352.715);
  --chart-4: oklch(0.32 0.026 352.788);
  --chart-5: oklch(0.689 0.141 356.155);
}