Embarrassed for shadcn/ui

Embarrassed is a shadcn/ui theme built around a muted light yellow primary color (#e6e6d5) with muted light purple accents (#e6d5e6). The light mode uses a neutral background (#fdfdf7). Dark mode keeps the muted light yellow primary (#e6e6d5) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#fdfdf7snow
#030302black
Foreground
#111003black
#fafaf9snow
Card
#fcfbf3floralwhite
#070703black
Card foreground
#0d0c03black
#fdfdfcwhite
Popover
#fcfbf3floralwhite
#070703black
Popover foreground
#0d0c03black
#fdfdfcwhite
Primary
#e6e6d5gainsboro
#e6e6d5gainsboro
Primary foreground
#575533darkolivegreen
#575533darkolivegreen
Secondary
#d5e6e6gainsboro
#d5e6e6gainsboro
Secondary foreground
#335755darkslategray
#335755darkslategray
Muted
#d5ebeagainsboro
#142a29darkslategray
Muted foreground
#3a4a49darkslategray
#b5c5c4silver
Accent
#e6d5e6gainsboro
#e6d5e6gainsboro
Accent foreground
#553357darkslategray
#553357darkslategray
Destructive
#ae240ffirebrick
#d82d13firebrick
Destructive foreground
#fef3f1seashell
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e6e6d5gainsboro
#e6e6d5gainsboro

Contrast

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

Light mode
Text on background18.65:1AAA
Text on card18.91:1AAA
Primary button6.03:1AA
Secondary button6.20:1AA
Muted text7.52:1AAA
Accent7.52:1AAA
Destructive6.32:1AA
Dark mode
Text on background19.71:1AAA
Text on card19.84:1AAA
Primary button6.03:1AA
Secondary button6.20:1AA
Muted text8.47:1AAA
Accent7.52:1AAA
Destructive4.88:1AA

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.007 104.097);
  --foreground: oklch(0.171 0.027 106.561);
  --muted: oklch(0.925 0.023 193.11);
  --muted-foreground: oklch(0.396 0.02 192.6);
  --popover: oklch(0.987 0.011 104.16);
  --popover-foreground: oklch(0.152 0.024 106.799);
  --card: oklch(0.987 0.011 104.16);
  --card-foreground: oklch(0.152 0.024 106.799);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.92 0.022 104.371);
  --primary-foreground: oklch(0.442 0.051 105.71);
  --secondary: oklch(0.913 0.018 193.21);
  --secondary-foreground: oklch(0.428 0.041 191.649);
  --accent: oklch(0.892 0.029 324.318);
  --accent-foreground: oklch(0.377 0.073 325.148);
  --destructive: oklch(0.489 0.176 31.56);
  --destructive-foreground: oklch(0.971 0.012 28);
  --ring: oklch(0.92 0.022 104.371);
  --chart-1: oklch(0.92 0.022 104.371);
  --chart-2: oklch(0.913 0.018 193.21);
  --chart-3: oklch(0.892 0.029 324.318);
  --chart-4: oklch(0.933 0.014 193.308);
  --chart-5: oklch(0.922 0.024 104.414);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.009 105.84);
  --foreground: oklch(0.986 0.001 103.996);
  --muted: oklch(0.265 0.028 191.432);
  --muted-foreground: oklch(0.81 0.017 193.182);
  --popover: oklch(0.125 0.011 105.84);
  --popover-foreground: oklch(0.993 0.001 103.983);
  --card: oklch(0.125 0.011 105.84);
  --card-foreground: oklch(0.993 0.001 103.983);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.92 0.022 104.371);
  --primary-foreground: oklch(0.442 0.051 105.71);
  --secondary: oklch(0.913 0.018 193.21);
  --secondary-foreground: oklch(0.428 0.041 191.649);
  --accent: oklch(0.892 0.029 324.318);
  --accent-foreground: oklch(0.377 0.073 325.148);
  --destructive: oklch(0.573 0.209 31.503);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.92 0.022 104.371);
  --chart-1: oklch(0.92 0.022 104.371);
  --chart-2: oklch(0.913 0.018 193.21);
  --chart-3: oklch(0.892 0.029 324.318);
  --chart-4: oklch(0.933 0.014 193.308);
  --chart-5: oklch(0.922 0.024 104.414);
}