Feminine for shadcn/ui

Feminine is a shadcn/ui theme built around a red primary color (#d39ca6) with neutral gray accents (#dbd6d7). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the red primary (#d39ca6) on a red-tinted background (#0f0607).

Color palette

TokenLightDark
Background
#fdf7f8snow
#0f0607black
Foreground
#0d0204black
#f9f5f6whitesmoke
Card
#fdf7f8snow
#0f0607black
Card foreground
#0d0204black
#f9f5f6whitesmoke
Popover
#fdf7f8snow
#0f0607black
Popover foreground
#0d0204black
#f9f5f6whitesmoke
Primary
#d39ca6rosybrown
#d39ca6rosybrown
Primary foreground
#2a1317black
#2a1317black
Secondary
#dbd6d7gainsboro
#2e2829darkslategray
Secondary foreground
#443c3ddarkslategray
#c8c0c2silver
Muted
#f3e7ealinen
#180c0eblack
Muted foreground
#6c5a5edimgray
#a59396rosybrown
Accent
#dbd6d7gainsboro
#2e2829darkslategray
Accent foreground
#443c3ddarkslategray
#c8c0c2silver
Destructive
#8b330esaddlebrown
#e96025chocolate
Destructive foreground
#faddd1antiquewhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d39ca6rosybrown
#d39ca6rosybrown

Contrast

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

Light mode
Text on background19.28:1AAA
Text on card19.28:1AAA
Primary button7.56:1AAA
Secondary button7.48:1AAA
Muted text5.35:1AA
Accent7.48:1AAA
Destructive6.30:1AA
Dark mode
Text on background18.52:1AAA
Text on card18.52:1AAA
Primary button7.56:1AAA
Secondary button8.07:1AAA
Muted text6.57:1AA
Accent8.07:1AAA
Destructive6.17:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.007 4.49);
  --foreground: oklch(0.116 0.029 5.331);
  --muted: oklch(0.939 0.013 4.668);
  --muted-foreground: oklch(0.488 0.024 5.584);
  --popover: oklch(0.981 0.007 4.49);
  --popover-foreground: oklch(0.116 0.029 5.331);
  --card: oklch(0.981 0.007 4.49);
  --card-foreground: oklch(0.116 0.029 5.331);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.748 0.066 6.598);
  --primary-foreground: oklch(0.222 0.039 8.983);
  --secondary: oklch(0.881 0.005 4.467);
  --secondary-foreground: oklch(0.364 0.011 5.093);
  --accent: oklch(0.881 0.005 4.467);
  --accent-foreground: oklch(0.364 0.011 5.093);
  --destructive: oklch(0.443 0.128 40.322);
  --destructive-foreground: oklch(0.919 0.037 44.621);
  --ring: oklch(0.748 0.066 6.598);
  --chart-1: oklch(0.748 0.066 6.598);
  --chart-2: oklch(0.881 0.005 4.467);
  --chart-3: oklch(0.881 0.005 4.467);
  --chart-4: oklch(0.905 0.004 4.432);
  --chart-5: oklch(0.746 0.071 6.793);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.018 5.528);
  --foreground: oklch(0.974 0.005 4.435);
  --muted: oklch(0.172 0.02 7.369);
  --muted-foreground: oklch(0.679 0.022 5.152);
  --popover: oklch(0.136 0.018 5.528);
  --popover-foreground: oklch(0.974 0.005 4.435);
  --card: oklch(0.136 0.018 5.528);
  --card-foreground: oklch(0.974 0.005 4.435);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.748 0.066 6.598);
  --primary-foreground: oklch(0.222 0.039 8.983);
  --secondary: oklch(0.285 0.009 5.154);
  --secondary-foreground: oklch(0.816 0.009 4.617);
  --accent: oklch(0.285 0.009 5.154);
  --accent-foreground: oklch(0.816 0.009 4.617);
  --destructive: oklch(0.656 0.184 40.827);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.748 0.066 6.598);
  --chart-1: oklch(0.748 0.066 6.598);
  --chart-2: oklch(0.285 0.009 5.154);
  --chart-3: oklch(0.285 0.009 5.154);
  --chart-4: oklch(0.315 0.011 5.187);
  --chart-5: oklch(0.746 0.071 6.793);
}