Pure Red Crayon is a shadcn/ui theme built around a vivid red primary color (#f0244c) with vivid orange accents (#f06124). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#f0244c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #080203black | #faf5f6whitesmoke |
| Card | #ffffffwhite | #000000black |
| Card foreground | #080203black | #faf5f6whitesmoke |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #080203black | #faf5f6whitesmoke |
| Primary | #f0244ccrimson | #f0244ccrimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #f024b3deeppink | #f024b3deeppink |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e9e2e7gainsboro | #1d161bblack |
| Muted foreground | #61515cdimgray | #ae9ea9darkgray |
| Accent | #f06124chocolate | #f06124chocolate |
| Accent foreground | #000000black | #000000black |
| Destructive | #b54103firebrick | #fc7127tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #ece9ealinen | #262122black |
| Input | #ece9ealinen | #262122black |
| Ring | #f0244ccrimson | #f0244ccrimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.58:1 | AAA |
| Text on card | 20.58:1 | AAA |
| Primary button | 4.15:1 | AA Large |
| Secondary button | 3.75:1 | AA Large |
| Muted text | 5.81:1 | AA |
| Accent | 6.42:1 | AA |
| Destructive | 5.64:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 4.15:1 | AA Large |
| Secondary button | 3.75:1 | AA Large |
| Muted text | 6.98:1 | AA |
| Accent | 6.42:1 | AA |
| Destructive | 7.53:1 | AAA |
Paste this into your globals.css to use Pure Red Crayon in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.103 0.022 3.518);
--muted: oklch(0.92 0.009 336.061);
--muted-foreground: oklch(0.456 0.027 336.962);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.103 0.022 3.518);
--card: oklch(1 0 180);
--card-foreground: oklch(0.103 0.022 3.518);
--border: oklch(0.937 0.003 3.276);
--input: oklch(0.937 0.003 3.276);
--primary: oklch(0.616 0.231 18.179);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.647 0.259 344.52);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.667 0.189 40.627);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.531 0.162 41.159);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.616 0.231 18.179);
--chart-1: oklch(0.616 0.231 18.179);
--chart-2: oklch(0.647 0.259 344.52);
--chart-3: oklch(0.667 0.189 40.627);
--chart-4: oklch(0.658 0.252 343.618);
--chart-5: oklch(0.621 0.236 18.79);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.974 0.005 3.329);
--muted: oklch(0.211 0.014 337.046);
--muted-foreground: oklch(0.716 0.024 336.499);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.974 0.005 3.329);
--card: oklch(0 0 0);
--card-foreground: oklch(0.974 0.005 3.329);
--border: oklch(0.255 0.008 4.001);
--input: oklch(0.255 0.008 4.001);
--primary: oklch(0.616 0.231 18.179);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.647 0.259 344.52);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.667 0.189 40.627);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.707 0.187 44.489);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.616 0.231 18.179);
--chart-1: oklch(0.616 0.231 18.179);
--chart-2: oklch(0.647 0.259 344.52);
--chart-3: oklch(0.667 0.189 40.627);
--chart-4: oklch(0.658 0.252 343.618);
--chart-5: oklch(0.621 0.236 18.79);
}