Embarrassment for shadcn/ui

Embarrassment is a shadcn/ui theme built around a vivid deep pink primary color (#24051a) with muted light pink accents (#d4bacb). The light mode uses a neutral background (#fdf7fb). Dark mode keeps the vivid deep pink primary (#24051a) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdf7fbsnow
#000000black
Foreground
#080206black
#ffffffwhite
Card
#fcf3f9lavenderblush
#030303black
Card foreground
#040103black
#ffffffwhite
Popover
#fcf3f9lavenderblush
#030303black
Popover foreground
#040103black
#ffffffwhite
Primary
#24051ablack
#24051ablack
Primary foreground
#ec6fc2hotpink
#ec6fc2hotpink
Secondary
#e0d6ddgainsboro
#252224black
Secondary foreground
#4c3945darkslategray
#c0b9besilver
Muted
#f1eef0whitesmoke
#110e10black
Muted foreground
#705768dimgray
#a88fa0rosybrown
Accent
#d4bacbthistle
#392d35darkslategray
Accent foreground
#382331darkslategray
#d2c6cethistle
Destructive
#da4901orangered
#fe6a20tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#24051ablack
#24051ablack

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card19.11:1AAA
Primary button6.86:1AA
Secondary button7.51:1AAA
Muted text5.61:1AA
Accent8.03:1AAA
Destructive4.23:1AA Large
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.86:1AA
Secondary button8.18:1AAA
Muted text6.49:1AA
Accent7.92:1AAA
Destructive7.28:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.008 337.423);
  --foreground: oklch(0.108 0.02 337.626);
  --muted: oklch(0.953 0.004 337.346);
  --muted-foreground: oklch(0.487 0.043 338.938);
  --popover: oklch(0.973 0.012 337.504);
  --popover-foreground: oklch(0.086 0.016 337.626);
  --card: oklch(0.973 0.012 337.504);
  --card-foreground: oklch(0.086 0.016 337.626);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.185 0.062 343.345);
  --primary-foreground: oklch(0.715 0.181 342.035);
  --secondary: oklch(0.887 0.014 337.583);
  --secondary-foreground: oklch(0.37 0.033 338.962);
  --accent: oklch(0.816 0.037 338.161);
  --accent-foreground: oklch(0.289 0.039 339.829);
  --destructive: oklch(0.603 0.192 39.293);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.185 0.062 343.345);
  --chart-1: oklch(0.185 0.062 343.345);
  --chart-2: oklch(0.887 0.014 337.583);
  --chart-3: oklch(0.816 0.037 338.161);
  --chart-4: oklch(0.911 0.011 337.507);
  --chart-5: oklch(0.185 0.065 343.516);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.168 0.006 337.961);
  --muted-foreground: oklch(0.678 0.039 338.39);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.185 0.062 343.345);
  --primary-foreground: oklch(0.715 0.181 342.035);
  --secondary: oklch(0.256 0.007 337.797);
  --secondary-foreground: oklch(0.794 0.01 337.508);
  --accent: oklch(0.314 0.021 338.537);
  --accent-foreground: oklch(0.839 0.016 337.647);
  --destructive: oklch(0.7 0.197 42.449);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.185 0.062 343.345);
  --chart-1: oklch(0.185 0.062 343.345);
  --chart-2: oklch(0.256 0.007 337.797);
  --chart-3: oklch(0.314 0.021 338.537);
  --chart-4: oklch(0.287 0.008 337.825);
  --chart-5: oklch(0.185 0.065 343.516);
}