Feminine for shadcn/ui

Feminine is a shadcn/ui theme built around a near-black primary color (#000000) with muted red accents (#bda8a8). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#000000) on a neutral background (#070303).

Color palette

TokenLightDark
Background
#ffffffwhite
#070303black
Foreground
#040101black
#fdfcfcsnow
Card
#fcfcfcsnow
#0b0404black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#0b0404black
Popover foreground
#000000black
#ffffffwhite
Primary
#000000black
#000000black
Primary foreground
#999999darkgray
#999999darkgray
Secondary
#d0c8c8lightgrey
#352c2cdarkslategray
Secondary foreground
#372f2fdarkslategray
#cfc4c4silver
Muted
#f6efefwhitesmoke
#100909black
Muted foreground
#5c4d4ddimgray
#b2a3a3darkgray
Accent
#bda8a8darkgray
#4b3535darkslategray
Accent foreground
#1d1616black
#dfd2d2lightgrey
Destructive
#6a1206maroon
#f23a21orangered
Destructive foreground
#fab2a8lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#000000black
#000000black

Contrast

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

Light mode
Text on background20.79:1AAA
Text on card20.54:1AAA
Primary button7.37:1AAA
Secondary button7.95:1AAA
Muted text7.03:1AAA
Accent7.90:1AAA
Destructive7.05:1AAA
Dark mode
Text on background20.03:1AAA
Text on card20.28:1AAA
Primary button7.37:1AAA
Secondary button8.00:1AAA
Muted text8.12:1AAA
Accent7.70:1AAA
Destructive3.88:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.083 0.014 20.398);
  --muted: oklch(0.957 0.008 17.291);
  --muted-foreground: oklch(0.434 0.02 17.966);
  --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 0 0);
  --primary-foreground: oklch(0.683 0 180);
  --secondary: oklch(0.84 0.008 17.315);
  --secondary-foreground: oklch(0.315 0.01 17.715);
  --accent: oklch(0.749 0.025 17.723);
  --accent-foreground: oklch(0.209 0.012 18.123);
  --destructive: oklch(0.342 0.123 31.189);
  --destructive-foreground: oklch(0.828 0.086 27.476);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0 0 0);
  --chart-2: oklch(0.84 0.008 17.315);
  --chart-3: oklch(0.749 0.025 17.723);
  --chart-4: oklch(0.864 0.007 17.286);
  --chart-5: oklch(0 0 0);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.107 0.013 19.401);
  --foreground: oklch(0.991 0.002 17.185);
  --muted: oklch(0.151 0.013 18.677);
  --muted-foreground: oklch(0.729 0.018 17.565);
  --popover: oklch(0.123 0.015 19.407);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.123 0.015 19.407);
  --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 0 0);
  --primary-foreground: oklch(0.683 0 180);
  --secondary: oklch(0.302 0.014 17.971);
  --secondary-foreground: oklch(0.829 0.012 17.399);
  --accent: oklch(0.353 0.031 18.753);
  --accent-foreground: oklch(0.875 0.014 17.433);
  --destructive: oklch(0.63 0.223 31.04);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0 0 0);
  --chart-2: oklch(0.302 0.014 17.971);
  --chart-3: oklch(0.353 0.031 18.753);
  --chart-4: oklch(0.331 0.016 18);
  --chart-5: oklch(0 0 0);
}