Separate Coquelicot is a shadcn/ui theme built around a vivid red primary color (#ff3c00) with muted light red accents (#ece6e4). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#ff3c00) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #090302black | #faf6f5whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040201black | #fcf9f8snow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #090302black | #faf6f5whitesmoke |
| Primary | #ff3c00orangered | #ff3c00orangered |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ece6e4linen | #251f1dblack |
| Secondary foreground | #5e4740darkolivegreen | #c3b5b1silver |
| Muted | #e3dfdegainsboro | #211d1cblack |
| Muted foreground | #6d5a54dimgray | #ab9792rosybrown |
| Accent | #ece6e4linen | #251f1dblack |
| Accent foreground | #5e4740darkolivegreen | #c3b5b1silver |
| Destructive | #8b2e09saddlebrown | #f26f3atomato |
| Destructive foreground | #fcd8cabisque | #000000black |
| Border | #ebeaealinen | #222120black |
| Input | #ebeaealinen | #222120black |
| Ring | #ff3c00orangered | #ff3c00orangered |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.47:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 3.56:1 | AA Large |
| Secondary button | 6.92:1 | AA |
| Muted text | 4.89:1 | AA |
| Accent | 6.92:1 | AA |
| Destructive | 6.35:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 3.56:1 | AA Large |
| Secondary button | 8.17:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 8.17:1 | AAA |
| Destructive | 7.10:1 | AAA |
Paste this into your globals.css to use Separate Coquelicot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.11 0.017 47.31);
--muted: oklch(0.906 0.005 37.715);
--muted-foreground: oklch(0.486 0.027 37.594);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.11 0.017 47.31);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.088 0.014 47.31);
--border: oklch(0.939 0.001 37.739);
--input: oklch(0.939 0.001 37.739);
--primary: oklch(0.652 0.236 33.804);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.929 0.008 37.702);
--secondary-foreground: oklch(0.421 0.034 37.597);
--accent: oklch(0.929 0.008 37.702);
--accent-foreground: oklch(0.421 0.034 37.597);
--destructive: oklch(0.435 0.134 38.534);
--destructive-foreground: oklch(0.909 0.044 42.77);
--ring: oklch(0.652 0.236 33.804);
--chart-1: oklch(0.652 0.236 33.804);
--chart-2: oklch(0.929 0.008 37.702);
--chart-3: oklch(0.929 0.008 37.702);
--chart-4: oklch(0.953 0.005 37.716);
--chart-5: oklch(0.657 0.241 33.556);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.976 0.004 37.72);
--muted: oklch(0.236 0.007 37.63);
--muted-foreground: oklch(0.693 0.025 37.618);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.976 0.004 37.72);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.003 37.728);
--border: oklch(0.248 0.002 37.71);
--input: oklch(0.248 0.002 37.71);
--primary: oklch(0.652 0.236 33.804);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.246 0.011 37.604);
--secondary-foreground: oklch(0.785 0.017 37.653);
--accent: oklch(0.246 0.011 37.604);
--accent-foreground: oklch(0.785 0.017 37.653);
--destructive: oklch(0.691 0.175 40.795);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.652 0.236 33.804);
--chart-1: oklch(0.652 0.236 33.804);
--chart-2: oklch(0.246 0.011 37.604);
--chart-3: oklch(0.246 0.011 37.604);
--chart-4: oklch(0.277 0.013 37.601);
--chart-5: oklch(0.657 0.241 33.556);
}