Humiliating is a shadcn/ui theme built around a near-black primary color (#030203) with muted light violet accents (#e5e2e9). The light mode uses a neutral background (#faf7fc). Dark mode keeps the near-black primary (#030203) on a neutral background (#050307).
| Token | Light | Dark |
|---|---|---|
| Background | #faf7fcghostwhite | #050307black |
| Foreground | #050109black | #faf9fbghostwhite |
| Card | #f7f4fbghostwhite | #08040bblack |
| Card foreground | #020104black | #fcfcfdwhite |
| Popover | #f7f4fbghostwhite | #08040bblack |
| Popover foreground | #020104black | #fcfcfdwhite |
| Primary | #030203black | #030203black |
| Primary foreground | #9b999fdarkgray | #9b999fdarkgray |
| Secondary | #e5e2e9gainsboro | #212022black |
| Secondary foreground | #4c4257darkslategray | #bab8bcsilver |
| Muted | #ede9f1lavender | #120e16black |
| Muted foreground | #403947darkslategray | #bfb8c6silver |
| Accent | #e5e2e9gainsboro | #212022black |
| Accent foreground | #4c4257darkslategray | #bab8bcsilver |
| Destructive | #7e1401maroon | #fd3512orangered |
| Destructive foreground | #febfb3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #030203black | #030203black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.52:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 9.25:1 | AAA |
| Accent | 7.37:1 | AAA |
| Destructive | 6.68:1 | AA |
| Text on background | 19.58:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 9.91:1 | AAA |
| Accent | 8.22:1 | AAA |
| Destructive | 3.69:1 | AA Large |
Paste this into your globals.css to use Humiliating in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 307.703);
--foreground: oklch(0.096 0.031 310.048);
--muted: oklch(0.94 0.012 307.643);
--muted-foreground: oklch(0.356 0.025 306.955);
--popover: oklch(0.971 0.011 307.659);
--popover-foreground: oklch(0.076 0.025 310.048);
--card: oklch(0.971 0.011 307.659);
--card-foreground: oklch(0.076 0.025 310.048);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.091 0.001 307.856);
--primary-foreground: oklch(0.686 0.009 307.632);
--secondary: oklch(0.917 0.01 307.658);
--secondary-foreground: oklch(0.397 0.038 306.676);
--accent: oklch(0.917 0.01 307.658);
--accent-foreground: oklch(0.397 0.038 306.676);
--destructive: oklch(0.384 0.143 32.317);
--destructive-foreground: oklch(0.858 0.076 30.042);
--ring: oklch(0.091 0.001 307.856);
--chart-1: oklch(0.091 0.001 307.856);
--chart-2: oklch(0.917 0.01 307.658);
--chart-3: oklch(0.917 0.01 307.658);
--chart-4: oklch(0.942 0.007 307.701);
--chart-5: oklch(0.091 0.002 307.924);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.105 0.018 308.979);
--foreground: oklch(0.983 0.004 307.746);
--muted: oklch(0.172 0.018 306.569);
--muted-foreground: oklch(0.793 0.021 307.482);
--popover: oklch(0.12 0.02 308.875);
--popover-foreground: oklch(0.991 0.002 307.768);
--card: oklch(0.12 0.02 308.875);
--card-foreground: oklch(0.991 0.002 307.768);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.091 0.001 307.856);
--primary-foreground: oklch(0.686 0.009 307.632);
--secondary: oklch(0.246 0.004 307.601);
--secondary-foreground: oklch(0.786 0.006 307.697);
--accent: oklch(0.246 0.004 307.601);
--accent-foreground: oklch(0.786 0.006 307.697);
--destructive: oklch(0.644 0.237 31.866);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.091 0.001 307.856);
--chart-1: oklch(0.091 0.001 307.856);
--chart-2: oklch(0.246 0.004 307.601);
--chart-3: oklch(0.246 0.004 307.601);
--chart-4: oklch(0.277 0.005 307.589);
--chart-5: oklch(0.091 0.002 307.924);
}