Red is a shadcn/ui theme built around a vivid light pink primary color (#fee7f0) with vivid light teal accents (#e7fef5). The light mode uses a neutral background (#fcf7f9). Dark mode keeps the vivid light pink primary (#fee7f0) on a pink-tinted background (#0c0307).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7f9snow | #0c0307black |
| Foreground | #110409black | #f9f6f7whitesmoke |
| Card | #fbf4f7lavenderblush | #100409black |
| Card foreground | #0d0307black | #fbf9fasnow |
| Popover | #fbf4f7lavenderblush | #100409black |
| Popover foreground | #0d0307black | #fbf9fasnow |
| Primary | #fee7f0lavenderblush | #fee7f0lavenderblush |
| Primary foreground | #aa0849brown | #aa0849brown |
| Secondary | #e7fef5honeydew | #e7fef5honeydew |
| Secondary foreground | #03492ddarkgreen | #03492ddarkgreen |
| Muted | #e5ebe9lavender | #141a18black |
| Muted foreground | #404f49darkslategray | #b0bfb9silver |
| Accent | #e7fef5honeydew | #e7fef5honeydew |
| Accent foreground | #03492ddarkgreen | #03492ddarkgreen |
| Destructive | #be3813firebrick | #e9481corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fee7f0lavenderblush | #fee7f0lavenderblush |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.02:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 6.28:1 | AA |
| Secondary button | 9.95:1 | AAA |
| Muted text | 7.15:1 | AAA |
| Accent | 9.95:1 | AAA |
| Destructive | 5.56:1 | AA |
| Text on background | 18.92:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 6.28:1 | AA |
| Secondary button | 9.95:1 | AAA |
| Muted text | 9.23:1 | AAA |
| Accent | 9.95:1 | AAA |
| Destructive | 3.89:1 | AA Large |
Paste this into your globals.css to use Red in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.006 350.794);
--foreground: oklch(0.133 0.031 352.377);
--muted: oklch(0.935 0.008 170.388);
--muted-foreground: oklch(0.413 0.022 168.972);
--popover: oklch(0.973 0.009 350.882);
--popover-foreground: oklch(0.119 0.027 350.612);
--card: oklch(0.973 0.009 350.882);
--card-foreground: oklch(0.119 0.027 350.612);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.948 0.028 351.442);
--primary-foreground: oklch(0.477 0.187 7.641);
--secondary: oklch(0.977 0.027 169.808);
--secondary-foreground: oklch(0.359 0.08 159.373);
--accent: oklch(0.977 0.027 169.808);
--accent-foreground: oklch(0.359 0.08 159.373);
--destructive: oklch(0.537 0.177 35.056);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.948 0.028 351.442);
--chart-1: oklch(0.948 0.028 351.442);
--chart-2: oklch(0.977 0.027 169.808);
--chart-3: oklch(0.977 0.027 169.808);
--chart-4: oklch(0.991 0.011 170.306);
--chart-5: oklch(0.948 0.029 351.469);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.023 350.522);
--foreground: oklch(0.975 0.004 350.739);
--muted: oklch(0.211 0.011 169.062);
--muted-foreground: oklch(0.792 0.019 169.908);
--popover: oklch(0.135 0.026 352.175);
--popover-foreground: oklch(0.983 0.003 350.7);
--card: oklch(0.135 0.026 352.175);
--card-foreground: oklch(0.983 0.003 350.7);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.948 0.028 351.442);
--primary-foreground: oklch(0.477 0.187 7.641);
--secondary: oklch(0.977 0.027 169.808);
--secondary-foreground: oklch(0.359 0.08 159.373);
--accent: oklch(0.977 0.027 169.808);
--accent-foreground: oklch(0.359 0.08 159.373);
--destructive: oklch(0.626 0.204 35.166);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.948 0.028 351.442);
--chart-1: oklch(0.948 0.028 351.442);
--chart-2: oklch(0.977 0.027 169.808);
--chart-3: oklch(0.977 0.027 169.808);
--chart-4: oklch(0.991 0.011 170.306);
--chart-5: oklch(0.948 0.029 351.469);
}