Light Pink for shadcn/ui

Light Pink is a shadcn/ui theme built around a vivid pink primary color (#ff7ab4) with neutral gray accents (#cfcfcf). The light mode uses a neutral background (#f5f5f5). Dark mode keeps the vivid pink primary (#ff7ab4) on a neutral background (#f5f5f5).

Color palette

TokenLightDark
Background
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Foreground
#333333darkslategray
#333333darkslategray
Card
#f0f0f0whitesmoke
#f0f0f0whitesmoke
Card foreground
#262626darkslategray
#262626darkslategray
Popover
#edededwhitesmoke
#edededwhitesmoke
Popover foreground
#1a1a1ablack
#1a1a1ablack
Primary
#ff7ab4hotpink
#ff7ab4hotpink
Primary foreground
#47001fmaroon
#47001fmaroon
Secondary
#532d3ddarkslategray
#532d3ddarkslategray
Secondary foreground
#e4cdd7gainsboro
#e4cdd7gainsboro
Muted
#e9e2e2gainsboro
#e9e2e2gainsboro
Muted foreground
#564343darkslategray
#564343darkslategray
Accent
#cfcfcflightgrey
#cfcfcflightgrey
Accent foreground
#363636darkslategray
#363636darkslategray
Destructive
#a21f10firebrick
#a21f10firebrick
Destructive foreground
#fdeae8linen
#fdeae8linen
Border
#e8e8e8lavender
#e8e8e8lavender
Input
#e0e0e0gainsboro
#e0e0e0gainsboro
Ring
#ff7ab4hotpink
#ff7ab4hotpink

Contrast

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

Light mode
Text on background11.56:1AAA
Text on card13.24:1AAA
Primary button6.76:1AA
Secondary button7.76:1AAA
Muted text7.22:1AAA
Accent7.72:1AAA
Destructive6.59:1AA
Dark mode
Text on background11.56:1AAA
Text on card13.24:1AAA
Primary button6.76:1AA
Secondary button7.76:1AAA
Muted text7.22:1AAA
Accent7.72:1AAA
Destructive6.59:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.97 0 180);
  --foreground: oklch(0.321 0 180);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.947 0 180);
  --popover-foreground: oklch(0.216 0 180);
  --card: oklch(0.954 0 180);
  --card-foreground: oklch(0.27 0 180);
  --border: oklch(0.931 0 180);
  --input: oklch(0.908 0 180);
  --primary: oklch(0.75 0.172 354.801);
  --primary-foreground: oklch(0.258 0.104 2.602);
  --secondary: oklch(0.35 0.061 353.233);
  --secondary-foreground: oklch(0.871 0.029 349.628);
  --accent: oklch(0.853 0 168.69);
  --accent-foreground: oklch(0.331 0 180);
  --destructive: oklch(0.464 0.169 30.508);
  --destructive-foreground: oklch(0.951 0.021 25.181);
  --ring: oklch(0.75 0.172 354.801);
  --chart-1: oklch(0.75 0.172 354.801);
  --chart-2: oklch(0.35 0.061 353.233);
  --chart-3: oklch(0.853 0 168.69);
  --chart-4: oklch(0.378 0.067 353.325);
  --chart-5: oklch(0.75 0.176 354.995);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.97 0 180);
  --foreground: oklch(0.321 0 180);
  --muted: oklch(0.919 0.007 17.278);
  --muted-foreground: oklch(0.404 0.025 18.259);
  --popover: oklch(0.947 0 180);
  --popover-foreground: oklch(0.216 0 180);
  --card: oklch(0.954 0 180);
  --card-foreground: oklch(0.27 0 180);
  --border: oklch(0.931 0 180);
  --input: oklch(0.908 0 180);
  --primary: oklch(0.75 0.172 354.801);
  --primary-foreground: oklch(0.258 0.104 2.602);
  --secondary: oklch(0.35 0.061 353.233);
  --secondary-foreground: oklch(0.871 0.029 349.628);
  --accent: oklch(0.853 0 168.69);
  --accent-foreground: oklch(0.331 0 180);
  --destructive: oklch(0.464 0.169 30.508);
  --destructive-foreground: oklch(0.951 0.021 25.181);
  --ring: oklch(0.75 0.172 354.801);
  --chart-1: oklch(0.75 0.172 354.801);
  --chart-2: oklch(0.35 0.061 353.233);
  --chart-3: oklch(0.853 0 168.69);
  --chart-4: oklch(0.378 0.067 353.325);
  --chart-5: oklch(0.75 0.176 354.995);
}