Tiny Medium Pink for shadcn/ui

Tiny Medium Pink is a shadcn/ui theme built around a vivid pink primary color (#f26398) with muted light pink accents (#e9e2e5). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#f26398) on a neutral background (#080204).

Color palette

TokenLightDark
Background
#ffffffwhite
#080204black
Foreground
#080204black
#ffffffwhite
Card
#fcfcfcsnow
#0c0306black
Card foreground
#040102black
#ffffffwhite
Popover
#fcfcfcsnow
#0c0306black
Popover foreground
#040102black
#ffffffwhite
Primary
#f26398palevioletred
#f26398palevioletred
Primary foreground
#21030eblack
#21030eblack
Secondary
#e9e2e5gainsboro
#2a2325darkslategray
Secondary foreground
#57424adarkslategray
#c5babesilver
Muted
#ddd5d8gainsboro
#2a2225darkslategray
Muted foreground
#4d3d43darkslategray
#c2b2b8silver
Accent
#e9e2e5gainsboro
#2a2325darkslategray
Accent foreground
#57424adarkslategray
#c5babesilver
Destructive
#b72110firebrick
#d82613firebrick
Destructive foreground
#fffbfasnow
#ffffffwhite
Border
#eceaealinen
#231f21black
Input
#eceaealinen
#231f21black
Ring
#f26398palevioletred
#f26398palevioletred

Contrast

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

Light mode
Text on background20.57:1AAA
Text on card20.33:1AAA
Primary button6.49:1AA
Secondary button7.21:1AAA
Muted text7.04:1AAA
Accent7.21:1AAA
Destructive6.31:1AA
Dark mode
Text on background20.55:1AAA
Text on card20.34:1AAA
Primary button6.49:1AA
Secondary button8.17:1AAA
Muted text7.63:1AAA
Accent8.17:1AAA
Destructive4.99:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.106 0.019 352.2);
  --muted: oklch(0.879 0.01 352.904);
  --muted-foreground: oklch(0.378 0.025 354.391);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.084 0.015 352.2);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.084 0.015 352.2);
  --border: oklch(0.938 0.002 352.649);
  --input: oklch(0.938 0.002 352.649);
  --primary: oklch(0.695 0.182 0.135);
  --primary-foreground: oklch(0.168 0.057 0.23);
  --secondary: oklch(0.919 0.008 352.839);
  --secondary-foreground: oklch(0.404 0.032 354.737);
  --accent: oklch(0.919 0.008 352.839);
  --accent-foreground: oklch(0.404 0.032 354.737);
  --destructive: oklch(0.504 0.187 30.52);
  --destructive-foreground: oklch(0.99 0.004 25.024);
  --ring: oklch(0.695 0.182 0.135);
  --chart-1: oklch(0.695 0.182 0.135);
  --chart-2: oklch(0.919 0.008 352.839);
  --chart-3: oklch(0.919 0.008 352.839);
  --chart-4: oklch(0.943 0.006 352.754);
  --chart-5: oklch(0.695 0.188 0.438);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.105 0.021 352.166);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.263 0.014 354.037);
  --muted-foreground: oklch(0.779 0.021 353.321);
  --popover: oklch(0.12 0.024 352.481);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.12 0.024 352.481);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.246 0.006 353.21);
  --input: oklch(0.246 0.006 353.21);
  --primary: oklch(0.695 0.182 0.135);
  --primary-foreground: oklch(0.168 0.057 0.23);
  --secondary: oklch(0.264 0.011 353.769);
  --secondary-foreground: oklch(0.798 0.014 353.08);
  --accent: oklch(0.264 0.011 353.769);
  --accent-foreground: oklch(0.798 0.014 353.08);
  --destructive: oklch(0.569 0.213 30.515);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.695 0.182 0.135);
  --chart-1: oklch(0.695 0.182 0.135);
  --chart-2: oklch(0.264 0.011 353.769);
  --chart-3: oklch(0.264 0.011 353.769);
  --chart-4: oklch(0.294 0.013 353.826);
  --chart-5: oklch(0.695 0.188 0.438);
}