Crowded for shadcn/ui

Crowded is a shadcn/ui theme built around a vivid pink primary color (#d71d99) with vivid red accents (#d71d3c). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#d71d99) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0e020ablack
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#0e020ablack
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#0e020ablack
#ffffffwhite
Primary
#d71d99mediumvioletred
#d71d99mediumvioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#b81dd7darkorchid
#b81dd7darkorchid
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e2dee3gainsboro
#201c21black
Muted foreground
#69626adimgray
#9c959ddarkgray
Accent
#d71d3ccrimson
#d71d3ccrimson
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#8d1902darkred
#fb2d04orangered
Destructive foreground
#fecdc3pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d71d99mediumvioletred
#d71d99mediumvioletred

Contrast

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

Light mode
Text on background20.35:1AAA
Text on card20.35:1AAA
Primary button4.62:1AA
Secondary button4.98:1AA
Muted text4.43:1AA Large
Accent5.06:1AA
Destructive6.49:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button4.62:1AA
Secondary button4.98:1AA
Muted text5.76:1AA
Accent5.06:1AA
Destructive3.82:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.119 0.037 338.593);
  --muted: oklch(0.905 0.009 320.547);
  --muted-foreground: oklch(0.505 0.015 320.578);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.119 0.037 338.593);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.119 0.037 338.593);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.593 0.237 346.723);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.579 0.263 319.699);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.567 0.214 20.376);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.417 0.153 32.601);
  --destructive-foreground: oklch(0.888 0.058 31.317);
  --ring: oklch(0.593 0.237 346.723);
  --chart-1: oklch(0.593 0.237 346.723);
  --chart-2: oklch(0.579 0.263 319.699);
  --chart-3: oklch(0.567 0.214 20.376);
  --chart-4: oklch(0.601 0.27 319.805);
  --chart-5: oklch(0.598 0.241 347.092);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.233 0.012 320.612);
  --muted-foreground: oklch(0.678 0.014 320.564);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.593 0.237 346.723);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.579 0.263 319.699);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.567 0.214 20.376);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.636 0.241 31.786);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.593 0.237 346.723);
  --chart-1: oklch(0.593 0.237 346.723);
  --chart-2: oklch(0.579 0.263 319.699);
  --chart-3: oklch(0.567 0.214 20.376);
  --chart-4: oklch(0.601 0.27 319.805);
  --chart-5: oklch(0.598 0.241 347.092);
}