rose is a shadcn/ui theme built around a vivid light red primary color (#f5a19e) with vivid light orange accents (#f5cc9e). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid light red primary (#f5a19e) on a red-tinted background (#0f0505).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #0f0505black |
| Foreground | #090101black | #ffffffwhite |
| Card | #fefbfbsnow | #0f0505black |
| Card foreground | #090101black | #ffffffwhite |
| Popover | #fefbfbsnow | #0f0505black |
| Popover foreground | #090101black | #ffffffwhite |
| Primary | #f5a19elightsalmon | #f5a19elightsalmon |
| Primary foreground | #580c09maroon | #580c09maroon |
| Secondary | #f59ec7lightpink | #f59ec7lightpink |
| Secondary foreground | #58092emaroon | #58092emaroon |
| Muted | #ebe5e8linen | #1a1417black |
| Muted foreground | #625b5edimgray | #a49da0darkgray |
| Accent | #f5cc9enavajowhite | #f5cc9enavajowhite |
| Accent foreground | #583309saddlebrown | #583309saddlebrown |
| Destructive | #b12910firebrick | #d73114firebrick |
| Destructive foreground | #fef7f6snow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5a19elightsalmon | #f5a19elightsalmon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.11:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 5.31:1 | AA |
| Accent | 7.41:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 20.06:1 | AAA |
| Text on card | 20.06:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 7.41:1 | AAA |
| Destructive | 4.84:1 | AA |
Paste this into your globals.css to use rose in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 19.637);
--foreground: oklch(0.1 0.025 26.506);
--muted: oklch(0.927 0.009 347.155);
--muted-foreground: oklch(0.478 0.011 347.526);
--popover: oklch(0.991 0.002 19.637);
--popover-foreground: oklch(0.1 0.025 26.506);
--card: oklch(0.991 0.002 19.637);
--card-foreground: oklch(0.1 0.025 26.506);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.791 0.1 21.742);
--primary-foreground: oklch(0.299 0.108 28.103);
--secondary: oklch(0.798 0.114 350.504);
--secondary-foreground: oklch(0.306 0.113 359.031);
--accent: oklch(0.87 0.076 70.311);
--accent-foreground: oklch(0.359 0.075 63.623);
--destructive: oklch(0.499 0.176 32.172);
--destructive-foreground: oklch(0.981 0.008 29.496);
--ring: oklch(0.791 0.1 21.742);
--chart-1: oklch(0.791 0.1 21.742);
--chart-2: oklch(0.798 0.114 350.504);
--chart-3: oklch(0.87 0.076 70.311);
--chart-4: oklch(0.825 0.097 349.878);
--chart-5: oklch(0.79 0.104 21.844);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.02 22.91);
--foreground: oklch(1 0 180);
--muted: oklch(0.199 0.013 348.562);
--muted-foreground: oklch(0.703 0.01 347.291);
--popover: oklch(0.135 0.02 22.91);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.135 0.02 22.91);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.791 0.1 21.742);
--primary-foreground: oklch(0.299 0.108 28.103);
--secondary: oklch(0.798 0.114 350.504);
--secondary-foreground: oklch(0.306 0.113 359.031);
--accent: oklch(0.87 0.076 70.311);
--accent-foreground: oklch(0.359 0.075 63.623);
--destructive: oklch(0.574 0.205 32.104);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.791 0.1 21.742);
--chart-1: oklch(0.791 0.1 21.742);
--chart-2: oklch(0.798 0.114 350.504);
--chart-3: oklch(0.87 0.076 70.311);
--chart-4: oklch(0.825 0.097 349.878);
--chart-5: oklch(0.79 0.104 21.844);
}