Female for shadcn/ui

Female is a shadcn/ui theme built around a near-black primary color (#181617) with muted light pink accents (#d1c7ce). The light mode uses a neutral background (#fdf7fb). Dark mode keeps the near-black primary (#181617) on a pink-tinted background (#10040c).

Color palette

TokenLightDark
Background
#fdf7fbsnow
#10040cblack
Foreground
#090206black
#f9f5f8whitesmoke
Card
#fdf7fbsnow
#10040cblack
Card foreground
#090206black
#f9f5f8whitesmoke
Popover
#fdf7fbsnow
#10040cblack
Popover foreground
#090206black
#f9f5f8whitesmoke
Primary
#181617black
#181617black
Primary foreground
#b3adb1darkgray
#b3adb1darkgray
Secondary
#d1c7celightgrey
#212121black
Secondary foreground
#382e35darkslategray
#bbb9basilver
Muted
#e0d7ddgainsboro
#281f25black
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#d1c7celightgrey
#212121black
Accent foreground
#382e35darkslategray
#bbb9basilver
Destructive
#c70000firebrick
#ff0f0fred
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#181617black
#181617black

Contrast

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

Light mode
Text on background19.40:1AAA
Text on card19.40:1AAA
Primary button8.17:1AAA
Secondary button7.92:1AAA
Muted text5.37:1AA
Accent7.92:1AAA
Destructive6.13:1AA
Dark mode
Text on background18.58:1AAA
Text on card18.58:1AAA
Primary button8.17:1AAA
Secondary button8.25:1AAA
Muted text6.94:1AA
Accent8.25:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.008 337.437);
  --foreground: oklch(0.105 0.028 337.767);
  --muted: oklch(0.888 0.012 337.538);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(0.982 0.008 337.437);
  --popover-foreground: oklch(0.105 0.028 337.767);
  --card: oklch(0.982 0.008 337.437);
  --card-foreground: oklch(0.105 0.028 337.767);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.203 0.004 337.634);
  --primary-foreground: oklch(0.753 0.009 337.512);
  --secondary: oklch(0.84 0.015 337.612);
  --secondary-foreground: oklch(0.315 0.019 338.422);
  --accent: oklch(0.84 0.015 337.612);
  --accent-foreground: oklch(0.315 0.019 338.422);
  --destructive: oklch(0.521 0.214 29.234);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.203 0.004 337.634);
  --chart-1: oklch(0.203 0.004 337.634);
  --chart-2: oklch(0.84 0.015 337.612);
  --chart-3: oklch(0.84 0.015 337.612);
  --chart-4: oklch(0.864 0.012 337.55);
  --chart-5: oklch(0.202 0.007 337.909);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.029 339.535);
  --foreground: oklch(0.975 0.005 337.378);
  --muted: oklch(0.253 0.017 338.535);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0.136 0.029 339.535);
  --popover-foreground: oklch(0.975 0.005 337.378);
  --card: oklch(0.136 0.029 339.535);
  --card-foreground: oklch(0.975 0.005 337.378);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.203 0.004 337.634);
  --primary-foreground: oklch(0.753 0.009 337.512);
  --secondary: oklch(0.248 0.001 337.37);
  --secondary-foreground: oklch(0.789 0.002 337.316);
  --accent: oklch(0.248 0.001 337.37);
  --accent-foreground: oklch(0.789 0.002 337.316);
  --destructive: oklch(0.631 0.254 28.842);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.203 0.004 337.634);
  --chart-1: oklch(0.203 0.004 337.634);
  --chart-2: oklch(0.248 0.001 337.37);
  --chart-3: oklch(0.248 0.001 337.37);
  --chart-4: oklch(0.28 0.002 337.376);
  --chart-5: oklch(0.202 0.007 337.909);
}