Elastic Pink Deer for shadcn/ui

Elastic Pink Deer is a shadcn/ui theme built around a light pink primary color (#eba2c9) with light red accents (#eba2a5). The light mode uses a neutral background (#fefbfd). Dark mode keeps the light pink primary (#eba2c9) on a pink-tinted background (#10040b).

Color palette

TokenLightDark
Background
#fefbfdsnow
#10040bblack
Foreground
#000000black
#fcf8fasnow
Card
#fefbfdsnow
#10040bblack
Card foreground
#000000black
#fcf8fasnow
Popover
#fefbfdsnow
#10040bblack
Popover foreground
#000000black
#fcf8fasnow
Primary
#eba2c9plum
#eba2c9plum
Primary foreground
#4c1030maroon
#4c1030maroon
Secondary
#e9a2ebplum
#e9a2ebplum
Secondary foreground
#4a104cindigo
#4a104cindigo
Muted
#ecd4edlavender
#2a122bblack
Muted foreground
#4f4a4fdarkslategray
#b5b0b5darkgray
Accent
#eba2a5burlywood
#eba2a5burlywood
Accent foreground
#4c1012maroon
#4c1012maroon
Destructive
#632608maroon
#ef7234tomato
Destructive foreground
#f8c1a5lightpink
#000000black
Border
#f2edf0whitesmoke
#1d161ablack
Input
#f2edf0whitesmoke
#1d161ablack
Ring
#eba2c9plum
#eba2c9plum

Contrast

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

Light mode
Text on background20.40:1AAA
Text on card20.40:1AAA
Primary button7.43:1AAA
Secondary button7.39:1AAA
Muted text6.27:1AA
Accent7.39:1AAA
Destructive7.24:1AAA
Dark mode
Text on background19.08:1AAA
Text on card19.08:1AAA
Primary button7.43:1AAA
Secondary button7.39:1AAA
Muted text8.05:1AAA
Accent7.39:1AAA
Destructive7.12:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 343.547);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.897 0.042 324.909);
  --muted-foreground: oklch(0.416 0.009 324.763);
  --popover: oklch(0.991 0.004 343.547);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.991 0.004 343.547);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.952 0.006 343.599);
  --input: oklch(0.952 0.006 343.599);
  --primary: oklch(0.795 0.099 346.355);
  --primary-foreground: oklch(0.289 0.095 352.057);
  --secondary: oklch(0.805 0.126 325.541);
  --secondary-foreground: oklch(0.301 0.116 326.547);
  --accent: oklch(0.785 0.087 17.033);
  --accent-foreground: oklch(0.28 0.089 23.376);
  --destructive: oklch(0.354 0.096 43.106);
  --destructive-foreground: oklch(0.853 0.073 47.839);
  --ring: oklch(0.795 0.099 346.355);
  --chart-1: oklch(0.795 0.099 346.355);
  --chart-2: oklch(0.805 0.126 325.541);
  --chart-3: oklch(0.785 0.087 17.033);
  --chart-4: oklch(0.83 0.108 325.399);
  --chart-5: oklch(0.794 0.104 346.489);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.029 345.591);
  --foreground: oklch(0.982 0.005 343.577);
  --muted: oklch(0.23 0.056 325.986);
  --muted-foreground: oklch(0.763 0.008 324.686);
  --popover: oklch(0.135 0.029 345.591);
  --popover-foreground: oklch(0.982 0.005 343.577);
  --card: oklch(0.135 0.029 345.591);
  --card-foreground: oklch(0.982 0.005 343.577);
  --border: oklch(0.21 0.014 345.093);
  --input: oklch(0.21 0.014 345.093);
  --primary: oklch(0.795 0.099 346.355);
  --primary-foreground: oklch(0.289 0.095 352.057);
  --secondary: oklch(0.805 0.126 325.541);
  --secondary-foreground: oklch(0.301 0.116 326.547);
  --accent: oklch(0.785 0.087 17.033);
  --accent-foreground: oklch(0.28 0.089 23.376);
  --destructive: oklch(0.691 0.17 44.467);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.795 0.099 346.355);
  --chart-1: oklch(0.795 0.099 346.355);
  --chart-2: oklch(0.805 0.126 325.541);
  --chart-3: oklch(0.785 0.087 17.033);
  --chart-4: oklch(0.83 0.108 325.399);
  --chart-5: oklch(0.794 0.104 346.489);
}