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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.65:1 | AAA |
| Text on card | 18.91:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 6.20:1 | AA |
| Muted text | 7.52:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 6.32:1 | AA |
| Text on background | 19.71:1 | AAA |
| Text on card | 19.84:1 | AAA |
| Primary button | 6.03:1 | AA |
| Secondary button | 6.20:1 | AA |
| Muted text | 8.47:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 4.88:1 | AA |
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);
}