Wretched is a shadcn/ui theme built around a vivid light pink primary color (#f6accf) with vivid light red accents (#f6afac). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the vivid light pink primary (#f6accf) on a pink-tinted background (#0a0507).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fasnow | #0a0507black |
| Foreground | #14060cblack | #fbf8fasnow |
| Card | #fdf7fasnow | #0a0507black |
| Card foreground | #14060cblack | #fbf8fasnow |
| Popover | #fdf7fasnow | #0a0507black |
| Popover foreground | #14060cblack | #fbf8fasnow |
| Primary | #f6accflightpink | #f6accflightpink |
| Primary foreground | #650b35maroon | #650b35maroon |
| Secondary | #f6acf3plum | #f6acf3plum |
| Secondary foreground | #650b62purple | #650b62purple |
| Muted | #e0dcdfgainsboro | #231f23black |
| Muted foreground | #625062dimgray | #af9daedarkgray |
| Accent | #f6afaclightpink | #f6afaclightpink |
| Accent foreground | #650e0bmaroon | #650e0bmaroon |
| Destructive | #923507saddlebrown | #db500achocolate |
| Destructive foreground | #fddecebisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f6accflightpink | #f6accflightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.66:1 | AAA |
| Text on card | 18.66:1 | AAA |
| Primary button | 7.10:1 | AAA |
| Secondary button | 6.82:1 | AA |
| Muted text | 5.44:1 | AA |
| Accent | 7.17:1 | AAA |
| Destructive | 6.02:1 | AA |
| Text on background | 19.17:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 7.10:1 | AAA |
| Secondary button | 6.82:1 | AA |
| Muted text | 6.37:1 | AA |
| Accent | 7.17:1 | AAA |
| Destructive | 4.06:1 | AA Large |
Paste this into your globals.css to use Wretched in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 347.134);
--foreground: oklch(0.148 0.028 350.401);
--muted: oklch(0.899 0.006 326.595);
--muted-foreground: oklch(0.457 0.036 327.192);
--popover: oklch(0.981 0.008 347.134);
--popover-foreground: oklch(0.148 0.028 350.401);
--card: oklch(0.981 0.008 347.134);
--card-foreground: oklch(0.148 0.028 350.401);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.825 0.096 349.841);
--primary-foreground: oklch(0.336 0.125 359.298);
--secondary: oklch(0.838 0.125 327.743);
--secondary-foreground: oklch(0.359 0.153 329.787);
--accent: oklch(0.82 0.084 21.262);
--accent-foreground: oklch(0.329 0.12 28.215);
--destructive: oklch(0.457 0.135 41.357);
--destructive-foreground: oklch(0.921 0.04 48.262);
--ring: oklch(0.825 0.096 349.841);
--chart-1: oklch(0.825 0.096 349.841);
--chart-2: oklch(0.838 0.125 327.743);
--chart-3: oklch(0.82 0.084 21.262);
--chart-4: oklch(0.863 0.104 327.523);
--chart-5: oklch(0.824 0.099 349.952);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.014 346.748);
--foreground: oklch(0.983 0.004 347.013);
--muted: oklch(0.246 0.008 326.809);
--muted-foreground: oklch(0.716 0.032 326.919);
--popover: oklch(0.126 0.014 346.748);
--popover-foreground: oklch(0.983 0.004 347.013);
--card: oklch(0.126 0.014 346.748);
--card-foreground: oklch(0.983 0.004 347.013);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.825 0.096 349.841);
--primary-foreground: oklch(0.336 0.125 359.298);
--secondary: oklch(0.838 0.125 327.743);
--secondary-foreground: oklch(0.359 0.153 329.787);
--accent: oklch(0.82 0.084 21.262);
--accent-foreground: oklch(0.329 0.12 28.215);
--destructive: oklch(0.613 0.187 40.48);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.825 0.096 349.841);
--chart-1: oklch(0.825 0.096 349.841);
--chart-2: oklch(0.838 0.125 327.743);
--chart-3: oklch(0.82 0.084 21.262);
--chart-4: oklch(0.863 0.104 327.523);
--chart-5: oklch(0.824 0.099 349.952);
}