Red Radish Marmot is a shadcn/ui theme built around a vivid red primary color (#f52944) with neutral gray accents (#cdc6c6). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the vivid red primary (#f52944) on a red-tinted background (#100406).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f8snow | #100406black |
| Foreground | #120305black | #fdfcfcsnow |
| Card | #fdf7f8snow | #100406black |
| Card foreground | #120305black | #fdfcfcsnow |
| Popover | #fdf7f8snow | #100406black |
| Popover foreground | #120305black | #fdfcfcsnow |
| Primary | #f52944crimson | #f52944crimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dededegainsboro | #39282adarkslategray |
| Secondary foreground | #454545darkslategray | #d3c0c3silver |
| Muted | #f6efefwhitesmoke | #10090ablack |
| Muted foreground | #6b6161dimgray | #9e9495rosybrown |
| Accent | #cdc6c6silver | #523237darkslategray |
| Accent foreground | #342d2ddarkslategray | #e4d3d5gainsboro |
| Destructive | #9c1907darkred | #f6523ctomato |
| Destructive foreground | #fddcd8mistyrose | #000000black |
| Border | #e2dfdfgainsboro | #262222black |
| Input | #e2dfdfgainsboro | #262222black |
| Ring | #f52944crimson | #f52944crimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.05:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 3.98:1 | AA Large |
| Secondary button | 7.11:1 | AAA |
| Muted text | 5.27:1 | AA |
| Accent | 7.99:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 3.98:1 | AA Large |
| Secondary button | 7.99:1 | AAA |
| Muted text | 6.67:1 | AA |
| Accent | 7.76:1 | AAA |
| Destructive | 6.17:1 | AA |
Paste this into your globals.css to use Red Radish Marmot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 7.9);
--foreground: oklch(0.129 0.033 10.53);
--muted: oklch(0.957 0.007 17.281);
--muted-foreground: oklch(0.502 0.013 17.597);
--popover: oklch(0.981 0.006 7.9);
--popover-foreground: oklch(0.129 0.033 10.53);
--card: oklch(0.981 0.006 7.9);
--card-foreground: oklch(0.129 0.033 10.53);
--border: oklch(0.905 0.004 7.858);
--input: oklch(0.905 0.004 7.858);
--primary: oklch(0.627 0.233 21.469);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.9 0 188.746);
--secondary-foreground: oklch(0.39 0 165.964);
--accent: oklch(0.832 0.008 17.325);
--accent-foreground: oklch(0.305 0.01 17.708);
--destructive: oklch(0.446 0.168 30.956);
--destructive-foreground: oklch(0.922 0.037 26.758);
--ring: oklch(0.627 0.233 21.469);
--chart-1: oklch(0.627 0.233 21.469);
--chart-2: oklch(0.9 0 188.746);
--chart-3: oklch(0.832 0.008 17.325);
--chart-4: oklch(0.923 0 153.435);
--chart-5: oklch(0.631 0.238 21.978);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.025 9.804);
--foreground: oklch(0.992 0.001 7.781);
--muted: oklch(0.152 0.012 9.591);
--muted-foreground: oklch(0.675 0.012 8.19);
--popover: oklch(0.133 0.025 9.804);
--popover-foreground: oklch(0.992 0.001 7.781);
--card: oklch(0.133 0.025 9.804);
--card-foreground: oklch(0.992 0.001 7.781);
--border: oklch(0.255 0.007 8.376);
--input: oklch(0.255 0.007 8.376);
--primary: oklch(0.627 0.233 21.469);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.298 0.025 9.791);
--secondary-foreground: oklch(0.825 0.021 8.364);
--accent: oklch(0.359 0.047 10.97);
--accent-foreground: oklch(0.881 0.019 8.281);
--destructive: oklch(0.661 0.204 30.648);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.627 0.233 21.469);
--chart-1: oklch(0.627 0.233 21.469);
--chart-2: oklch(0.298 0.025 9.791);
--chart-3: oklch(0.359 0.047 10.97);
--chart-4: oklch(0.326 0.028 9.861);
--chart-5: oklch(0.631 0.238 21.978);
}