Embarrassed for shadcn/ui

Embarrassed is a shadcn/ui theme built around a neutral gray primary color (#766f74) with neutral gray accents (#6f7476). The light mode uses a neutral background (#fefbfd). Dark mode keeps the neutral gray primary (#766f74) on a neutral background (#080306).

Color palette

TokenLightDark
Background
#fefbfdsnow
#080306black
Foreground
#0c0309black
#fbf8fasnow
Card
#fefbfdsnow
#080306black
Card foreground
#0c0309black
#fbf8fasnow
Popover
#fefbfdsnow
#080306black
Popover foreground
#0c0309black
#fbf8fasnow
Primary
#766f74dimgray
#766f74dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#74766fdimgray
#74766fdimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dadfd2gainsboro
#282d20darkslategray
Muted foreground
#454644darkslategray
#babbb9silver
Accent
#6f7476dimgray
#6f7476dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#a81805firebrick
#f82c12orangered
Destructive foreground
#fee5e1mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#766f74dimgray
#766f74dimgray

Contrast

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

Light mode
Text on background19.78:1AAA
Text on card19.78:1AAA
Primary button4.87:1AA
Secondary button4.59:1AA
Muted text7.01:1AAA
Accent4.74:1AA
Destructive6.24:1AA
Dark mode
Text on background19.44:1AAA
Text on card19.44:1AAA
Primary button4.87:1AA
Secondary button4.59:1AA
Muted text7.35:1AAA
Accent4.74:1AA
Destructive3.92:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 338.804);
  --foreground: oklch(0.123 0.025 339.304);
  --muted: oklch(0.897 0.018 123.24);
  --muted-foreground: oklch(0.391 0.002 123.022);
  --popover: oklch(0.991 0.004 338.804);
  --popover-foreground: oklch(0.123 0.025 339.304);
  --card: oklch(0.991 0.004 338.804);
  --card-foreground: oklch(0.123 0.025 339.304);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.55 0.011 339.134);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.562 0.011 123.224);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.555 0.007 232.749);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.47 0.179 30.905);
  --destructive-foreground: oklch(0.941 0.028 26.668);
  --ring: oklch(0.55 0.011 339.134);
  --chart-1: oklch(0.55 0.011 339.134);
  --chart-2: oklch(0.562 0.011 123.224);
  --chart-3: oklch(0.555 0.007 232.749);
  --chart-4: oklch(0.589 0.011 123.226);
  --chart-5: oklch(0.546 0.022 339.546);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.019 338.953);
  --foreground: oklch(0.983 0.004 338.803);
  --muted: oklch(0.287 0.024 124.238);
  --muted-foreground: oklch(0.791 0.002 122.967);
  --popover: oklch(0.108 0.019 338.953);
  --popover-foreground: oklch(0.983 0.004 338.803);
  --card: oklch(0.108 0.019 338.953);
  --card-foreground: oklch(0.983 0.004 338.803);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.55 0.011 339.134);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.562 0.011 123.224);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.555 0.007 232.749);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.63 0.237 30.899);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.55 0.011 339.134);
  --chart-1: oklch(0.55 0.011 339.134);
  --chart-2: oklch(0.562 0.011 123.224);
  --chart-3: oklch(0.555 0.007 232.749);
  --chart-4: oklch(0.589 0.011 123.226);
  --chart-5: oklch(0.546 0.022 339.546);
}