Red is a shadcn/ui theme built around a vivid orange primary color (#ef8e34) with vivid blue accents (#3494ef). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the vivid orange primary (#ef8e34) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #000000black |
| Foreground | #100a04black | #fcfaf8snow |
| Card | #fcfaf8snow | #000000black |
| Card foreground | #100a04black | #fcfaf8snow |
| Popover | #fcfaf8snow | #000000black |
| Popover foreground | #100a04black | #fcfaf8snow |
| Primary | #ef8e34coral | #ef8e34coral |
| Primary foreground | #000000black | #000000black |
| Secondary | #3494efdodgerblue | #3494efdodgerblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #edf0f3whitesmoke | #0c0f12black |
| Muted foreground | #596169dimgray | #969ea6darkgray |
| Accent | #3494efdodgerblue | #3494efdodgerblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #94260asaddlebrown | #f0542dtomato |
| Destructive foreground | #fcdcd4antiquewhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ef8e34coral | #ef8e34coral |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.86:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 8.58:1 | AAA |
| Secondary button | 6.65:1 | AA |
| Muted text | 5.48:1 | AA |
| Accent | 6.65:1 | AA |
| Destructive | 6.44:1 | AA |
| Text on background | 20.16:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 8.58:1 | AAA |
| Secondary button | 6.65:1 | AA |
| Muted text | 7.06:1 | AAA |
| Accent | 6.65:1 | AA |
| Destructive | 3.48:1 | AA Large |
Paste this into your globals.css to use Red in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 65.933);
--foreground: oklch(0.151 0.018 70.418);
--muted: oklch(0.953 0.005 246.03);
--muted-foreground: oklch(0.489 0.016 246.33);
--popover: oklch(0.985 0.003 65.933);
--popover-foreground: oklch(0.151 0.018 70.418);
--card: oklch(0.985 0.003 65.933);
--card-foreground: oklch(0.151 0.018 70.418);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.735 0.153 59.025);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.656 0.161 250.614);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.656 0.161 250.614);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.442 0.15 34.13);
--destructive-foreground: oklch(0.919 0.037 34.315);
--ring: oklch(0.735 0.153 59.025);
--chart-1: oklch(0.735 0.153 59.025);
--chart-2: oklch(0.656 0.161 250.614);
--chart-3: oklch(0.656 0.161 250.614);
--chart-4: oklch(0.677 0.151 249.806);
--chart-5: oklch(0.739 0.157 58.569);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.003 65.933);
--muted: oklch(0.168 0.008 246.51);
--muted-foreground: oklch(0.696 0.014 246.202);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.985 0.003 65.933);
--card: oklch(0 0 0);
--card-foreground: oklch(0.985 0.003 65.933);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.735 0.153 59.025);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.656 0.161 250.614);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.656 0.161 250.614);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.654 0.199 34.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.735 0.153 59.025);
--chart-1: oklch(0.735 0.153 59.025);
--chart-2: oklch(0.656 0.161 250.614);
--chart-3: oklch(0.656 0.161 250.614);
--chart-4: oklch(0.677 0.151 249.806);
--chart-5: oklch(0.739 0.157 58.569);
}