Organization for shadcn/ui

Organization is a shadcn/ui theme built around a pink primary color (#cb86a1) with muted light pink accents (#d8bac6). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the pink primary (#cb86a1) on a neutral background (#080305).

Color palette

TokenLightDark
Background
#fdf7f9snow
#080305black
Foreground
#040102black
#fdfcfcsnow
Card
#fcf3f6lavenderblush
#0b0407black
Card foreground
#000000black
#ffffffwhite
Popover
#fdf7f9snow
#080305black
Popover foreground
#040102black
#fdfcfcsnow
Primary
#cb86a1rosybrown
#cb86a1rosybrown
Primary foreground
#15090eblack
#15090eblack
Secondary
#e0d1d7gainsboro
#211c1eblack
Secondary foreground
#4c343ddarkslategray
#bdb3b7silver
Muted
#e5d2d9gainsboro
#2d1a22black
Muted foreground
#4d4d4ddarkslategray
#b3b3b3darkgray
Accent
#d8bac6thistle
#38292fdarkslategray
Accent foreground
#3e232edarkslategray
#d1c1c8thistle
Destructive
#7a1701maroon
#fe552ftomato
Destructive foreground
#ffbdaelightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cb86a1rosybrown
#cb86a1rosybrown

Contrast

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

Light mode
Text on background19.64:1AAA
Text on card19.29:1AAA
Primary button6.91:1AA
Secondary button7.67:1AAA
Muted text5.84:1AA
Accent7.95:1AAA
Destructive6.75:1AA
Dark mode
Text on background20.04:1AAA
Text on card20.29:1AAA
Primary button6.91:1AA
Secondary button8.21:1AAA
Muted text7.79:1AAA
Accent7.97:1AAA
Destructive6.54:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.007 350.818);
  --foreground: oklch(0.084 0.015 350.264);
  --muted: oklch(0.881 0.024 351.37);
  --muted-foreground: oklch(0.418 0 173.29);
  --popover: oklch(0.981 0.007 350.818);
  --popover-foreground: oklch(0.084 0.015 350.264);
  --card: oklch(0.972 0.01 350.919);
  --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.697 0.092 354.121);
  --primary-foreground: oklch(0.161 0.023 354.426);
  --secondary: oklch(0.876 0.018 351.192);
  --secondary-foreground: oklch(0.355 0.038 353.473);
  --accent: oklch(0.82 0.038 351.885);
  --accent-foreground: oklch(0.295 0.045 354.635);
  --destructive: oklch(0.377 0.137 33.552);
  --destructive-foreground: oklch(0.854 0.08 32.987);
  --ring: oklch(0.697 0.092 354.121);
  --chart-1: oklch(0.697 0.092 354.121);
  --chart-2: oklch(0.876 0.018 351.192);
  --chart-3: oklch(0.82 0.038 351.885);
  --chart-4: oklch(0.901 0.014 351.064);
  --chart-5: oklch(0.696 0.099 354.392);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.107 0.017 350.296);
  --foreground: oklch(0.992 0.001 350.663);
  --muted: oklch(0.247 0.033 354.19);
  --muted-foreground: oklch(0.765 0 172.405);
  --popover: oklch(0.107 0.017 350.296);
  --popover-foreground: oklch(0.992 0.001 350.663);
  --card: oklch(0.123 0.02 350.471);
  --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.697 0.092 354.121);
  --primary-foreground: oklch(0.161 0.023 354.426);
  --secondary: oklch(0.234 0.007 351.492);
  --secondary-foreground: oklch(0.775 0.013 351.08);
  --accent: oklch(0.301 0.024 352.741);
  --accent-foreground: oklch(0.827 0.02 351.297);
  --destructive: oklch(0.676 0.211 33.994);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.697 0.092 354.121);
  --chart-1: oklch(0.697 0.092 354.121);
  --chart-2: oklch(0.234 0.007 351.492);
  --chart-3: oklch(0.301 0.024 352.741);
  --chart-4: oklch(0.265 0.009 351.55);
  --chart-5: oklch(0.696 0.099 354.392);
}