Identical is a shadcn/ui theme built around a pink primary color (#b46487) with muted light pink accents (#d3bbc5). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#b46487) on a pink-tinted background (#0b0407).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #0b0407black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fdf7f9snow | #0f050ablack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefbfcsnow | #0b0407black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #b46487palevioletred | #b46487palevioletred |
| Primary foreground | #000000black | #000000black |
| Secondary | #e5dce0gainsboro | #201d1eblack |
| Secondary foreground | #523d46darkslategray | #bcb3b7silver |
| Muted | #e5cdd7gainsboro | #321a25black |
| Muted foreground | #585054dimgray | #afa7aadarkgray |
| Accent | #d3bbc5thistle | #31252bdarkslategray |
| Accent foreground | #38242ddarkslategray | #cdbcc3silver |
| Destructive | #9c1e02darkred | #e22c03orangered |
| Destructive foreground | #fedad2bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b46487palevioletred | #b46487palevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.40:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 5.12:1 | AA |
| Secondary button | 7.38:1 | AAA |
| Muted text | 5.20:1 | AA |
| Accent | 8.01:1 | AAA |
| Destructive | 6.22:1 | AA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 5.12:1 | AA |
| Secondary button | 8.18:1 | AAA |
| Muted text | 6.80:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 4.56:1 | AA |
Paste this into your globals.css to use Identical in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 348.842);
--foreground: oklch(0 0 0);
--muted: oklch(0.87 0.031 349.687);
--muted-foreground: oklch(0.44 0.012 349.504);
--popover: oklch(0.99 0.004 348.842);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.008 348.952);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.605 0.111 353.507);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.902 0.011 349.079);
--secondary-foreground: oklch(0.386 0.033 350.998);
--accent: oklch(0.815 0.03 349.729);
--accent-foreground: oklch(0.288 0.032 351.647);
--destructive: oklch(0.45 0.164 32.971);
--destructive-foreground: oklch(0.916 0.042 32.744);
--ring: oklch(0.605 0.111 353.507);
--chart-1: oklch(0.605 0.111 353.507);
--chart-2: oklch(0.902 0.011 349.079);
--chart-3: oklch(0.815 0.03 349.729);
--chart-4: oklch(0.927 0.008 348.985);
--chart-5: oklch(0.604 0.12 353.935);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.019 348.602);
--foreground: oklch(1 0 180);
--muted: oklch(0.255 0.042 353.011);
--muted-foreground: oklch(0.735 0.011 349.142);
--popover: oklch(0.123 0.019 348.602);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.136 0.022 350.192);
--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.605 0.111 353.507);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.235 0.006 349.473);
--secondary-foreground: oklch(0.776 0.011 349.123);
--accent: oklch(0.282 0.02 350.641);
--accent-foreground: oklch(0.811 0.021 349.435);
--destructive: oklch(0.59 0.22 32.403);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.605 0.111 353.507);
--chart-1: oklch(0.605 0.111 353.507);
--chart-2: oklch(0.235 0.006 349.473);
--chart-3: oklch(0.282 0.02 350.641);
--chart-4: oklch(0.266 0.008 349.523);
--chart-5: oklch(0.604 0.12 353.935);
}