Embarrassed for shadcn/ui

Embarrassed is a shadcn/ui theme built around a muted red primary color (#ab9294) with muted blue accents (#9294ab). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the muted red primary (#ab9294) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#fcf8f8snow
#030202black
Foreground
#130608black
#fbf9f9snow
Card
#faf4f5whitesmoke
#070404black
Card foreground
#0f0506black
#fdfcfcsnow
Popover
#faf4f5whitesmoke
#070404black
Popover foreground
#0f0506black
#fdfcfcsnow
Primary
#ab9294rosybrown
#ab9294rosybrown
Primary foreground
#060405black
#060405black
Secondary
#94ab92darkseagreen
#94ab92darkseagreen
Secondary foreground
#050604black
#050604black
Muted
#eef7edhoneydew
#091208black
Muted foreground
#424e41darkslategray
#b2beb1silver
Accent
#9294abdarkgray
#9294abdarkgray
Accent foreground
#040506black
#040506black
Destructive
#7e2901saddlebrown
#fd6621tomato
Destructive foreground
#fecbb3peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ab9294rosybrown
#ab9294rosybrown

Contrast

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

Light mode
Text on background18.83:1AAA
Text on card18.55:1AAA
Primary button7.04:1AAA
Secondary button8.19:1AAA
Muted text8.00:1AAA
Accent6.83:1AA
Destructive6.53:1AA
Dark mode
Text on background19.76:1AAA
Text on card19.99:1AAA
Primary button7.04:1AAA
Secondary button8.19:1AAA
Muted text9.91:1AAA
Accent6.83:1AA
Destructive7.10:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 10.177);
  --foreground: oklch(0.146 0.024 12.896);
  --muted: oklch(0.967 0.016 142.561);
  --muted-foreground: oklch(0.409 0.026 142.368);
  --popover: oklch(0.973 0.006 10.228);
  --popover-foreground: oklch(0.134 0.021 12.018);
  --card: oklch(0.973 0.006 10.228);
  --card-foreground: oklch(0.134 0.021 12.018);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.682 0.03 11.094);
  --primary-foreground: oklch(0.113 0.004 10.325);
  --secondary: oklch(0.716 0.044 142.375);
  --secondary-foreground: oklch(0.117 0.005 142.229);
  --accent: oklch(0.672 0.033 280.439);
  --accent-foreground: oklch(0.112 0.004 280.275);
  --destructive: oklch(0.406 0.126 40.061);
  --destructive-foreground: oklch(0.881 0.067 46.143);
  --ring: oklch(0.682 0.03 11.094);
  --chart-1: oklch(0.682 0.03 11.094);
  --chart-2: oklch(0.716 0.044 142.375);
  --chart-3: oklch(0.672 0.033 280.439);
  --chart-4: oklch(0.739 0.04 142.404);
  --chart-5: oklch(0.678 0.038 11.347);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.007 10.742);
  --foreground: oklch(0.983 0.003 10.136);
  --muted: oklch(0.168 0.024 141.81);
  --muted-foreground: oklch(0.789 0.022 142.514);
  --popover: oklch(0.11 0.009 10.742);
  --popover-foreground: oklch(0.992 0.001 10.106);
  --card: oklch(0.11 0.009 10.742);
  --card-foreground: oklch(0.992 0.001 10.106);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.682 0.03 11.094);
  --primary-foreground: oklch(0.113 0.004 10.325);
  --secondary: oklch(0.716 0.044 142.375);
  --secondary-foreground: oklch(0.117 0.005 142.229);
  --accent: oklch(0.672 0.033 280.439);
  --accent-foreground: oklch(0.112 0.004 280.275);
  --destructive: oklch(0.694 0.198 41.357);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.682 0.03 11.094);
  --chart-1: oklch(0.682 0.03 11.094);
  --chart-2: oklch(0.716 0.044 142.375);
  --chart-3: oklch(0.672 0.033 280.439);
  --chart-4: oklch(0.739 0.04 142.404);
  --chart-5: oklch(0.678 0.038 11.347);
}