Rude Carmoisine is a shadcn/ui theme built around a red primary color (#b12646) with neutral gray accents (#dddddd). The light mode uses a neutral background (#f5f5f5). Dark mode keeps the red primary (#b12646) on a neutral background (#131316).
| Token | Light | Dark |
|---|---|---|
| Background | #f5f5f5whitesmoke | #131316black |
| Foreground | #171717black | #c7c7c7silver |
| Card | #f0f0f0whitesmoke | #0e0e10black |
| Card foreground | #0a0a0ablack | #d4d4d4lightgrey |
| Popover | #edededwhitesmoke | #0c0c0eblack |
| Popover foreground | #000000black | #e0e0e0gainsboro |
| Primary | #b12646brown | #b12646brown |
| Primary foreground | #ffffffwhite | #f5ced7pink |
| Secondary | #cfcfcflightgrey | #303036darkslategray |
| Secondary foreground | #262626darkslategray | #d9d9d9gainsboro |
| Muted | #dadadagainsboro | #1f1f23black |
| Muted foreground | #69585cdimgray | #968387gray |
| Accent | #ddddddgainsboro | #37373fdarkslategray |
| Accent foreground | #363636darkslategray | #d1d1d7lightgrey |
| Destructive | #d31d09firebrick | #e61414red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e0e0e0gainsboro | #303036darkslategray |
| Input | #e0e0e0gainsboro | #303036darkslategray |
| Ring | #b12646brown | #b12646brown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.41:1 | AAA |
| Text on card | 17.32:1 | AAA |
| Primary button | 6.49:1 | AA |
| Secondary button | 9.71:1 | AAA |
| Muted text | 4.78:1 | AA |
| Accent | 8.85:1 | AAA |
| Destructive | 5.33:1 | AA |
| Text on background | 10.97:1 | AAA |
| Text on card | 12.98:1 | AAA |
| Primary button | 4.54:1 | AA |
| Secondary button | 9.28:1 | AAA |
| Muted text | 4.59:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 4.69:1 | AA |
Paste this into your globals.css to use Rude Carmoisine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.97 0 180);
--foreground: oklch(0.204 0 180);
--muted: oklch(0.89 0 180);
--muted-foreground: oklch(0.48 0.023 2.484);
--popover: oklch(0.947 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.954 0 180);
--card-foreground: oklch(0.146 0 180);
--border: oklch(0.907 0 180);
--input: oklch(0.908 0 180);
--primary: oklch(0.504 0.174 13.572);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.855 0 165.964);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.896 0 17.16);
--accent-foreground: oklch(0.331 0 180);
--destructive: oklch(0.553 0.214 30.408);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.504 0.174 13.572);
--chart-1: oklch(0.504 0.174 13.572);
--chart-2: oklch(0.855 0 165.964);
--chart-3: oklch(0.896 0 17.16);
--chart-4: oklch(0.878 0 195.945);
--chart-5: oklch(0.507 0.18 14.29);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.188 0.006 285.834);
--foreground: oklch(0.829 0 180);
--muted: oklch(0.242 0.008 285.791);
--muted-foreground: oklch(0.627 0.024 2.216);
--popover: oklch(0.154 0.004 285.951);
--popover-foreground: oklch(0.908 0 180);
--card: oklch(0.166 0.004 285.906);
--card-foreground: oklch(0.869 0 165.964);
--border: oklch(0.312 0.011 285.767);
--input: oklch(0.312 0.011 285.767);
--primary: oklch(0.504 0.174 13.572);
--primary-foreground: oklch(0.887 0.045 2.513);
--secondary: oklch(0.312 0.011 285.767);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.338 0.014 285.612);
--accent-foreground: oklch(0.861 0.008 286.224);
--destructive: oklch(0.586 0.233 28.543);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.504 0.174 13.572);
--chart-1: oklch(0.504 0.174 13.572);
--chart-2: oklch(0.312 0.011 285.767);
--chart-3: oklch(0.338 0.014 285.612);
--chart-4: oklch(0.34 0.012 285.747);
--chart-5: oklch(0.507 0.18 14.29);
}