Huacat Pink Theme is a shadcn/ui theme built around a pink primary color (#dc6fb8) with light purple accents (#dcb7dc). The light mode uses a purple-tinted background (#f5eaf5). Dark mode keeps the pink primary (#dc6fb8) on a purple-tinted background (#f5eaf5).
| Token | Light | Dark |
|---|---|---|
| Background | #f5eaf5whitesmoke | #f5eaf5whitesmoke |
| Foreground | #753875rebeccapurple | #753875rebeccapurple |
| Card | #f2e3f2lavender | #f2e3f2lavender |
| Card foreground | #643064darkslateblue | #643064darkslateblue |
| Popover | #f0e0f0lavender | #f0e0f0lavender |
| Popover foreground | #532853darkslategray | #532853darkslategray |
| Primary | #dc6fb8orchid | #dc6fb8orchid |
| Primary foreground | #15050fblack | #15050fblack |
| Secondary | #532d46darkslategray | #532d46darkslategray |
| Secondary foreground | #e4cdddgainsboro | #e4cdddgainsboro |
| Muted | #e9e2e9lavender | #e9e2e9lavender |
| Muted foreground | #564356darkslategray | #564356darkslategray |
| Accent | #dcb7dcthistle | #dcb7dcthistle |
| Accent foreground | #411f41darkslategray | #411f41darkslategray |
| Destructive | #851200maroon | #851200maroon |
| Destructive foreground | #ffc1b8lightpink | #ffc1b8lightpink |
| Border | #eadcealavender | #eadcealavender |
| Input | #e4d2e4gainsboro | #e4d2e4gainsboro |
| Ring | #dc6fb8orchid | #dc6fb8orchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.98:1 | AA |
| Text on card | 7.95:1 | AAA |
| Primary button | 6.62:1 | AA |
| Secondary button | 7.71:1 | AAA |
| Muted text | 7.09:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 6.53:1 | AA |
| Text on background | 6.98:1 | AA |
| Text on card | 7.95:1 | AAA |
| Primary button | 6.62:1 | AA |
| Secondary button | 7.71:1 | AAA |
| Muted text | 7.09:1 | AAA |
| Accent | 7.90:1 | AAA |
| Destructive | 6.53:1 | AA |
Paste this into your globals.css to use Huacat Pink Theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.95 0.018 325.719);
--foreground: oklch(0.445 0.118 327.34);
--muted: oklch(0.921 0.01 325.662);
--muted-foreground: oklch(0.41 0.038 326.249);
--popover: oklch(0.924 0.028 325.797);
--popover-foreground: oklch(0.352 0.089 327.266);
--card: oklch(0.933 0.024 325.771);
--card-foreground: oklch(0.399 0.104 327.308);
--border: oklch(0.91 0.024 325.773);
--input: oklch(0.885 0.031 325.835);
--primary: oklch(0.691 0.16 341.592);
--primary-foreground: oklch(0.149 0.036 340.738);
--secondary: oklch(0.354 0.067 340.808);
--secondary-foreground: oklch(0.873 0.033 338.001);
--accent: oklch(0.823 0.066 326.156);
--accent-foreground: oklch(0.303 0.074 327.204);
--destructive: oklch(0.395 0.151 31.81);
--destructive-foreground: oklch(0.865 0.073 28.599);
--ring: oklch(0.691 0.16 341.592);
--chart-1: oklch(0.691 0.16 341.592);
--chart-2: oklch(0.354 0.067 340.808);
--chart-3: oklch(0.823 0.066 326.156);
--chart-4: oklch(0.382 0.074 340.875);
--chart-5: oklch(0.691 0.167 341.796);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.95 0.018 325.719);
--foreground: oklch(0.445 0.118 327.34);
--muted: oklch(0.921 0.01 325.662);
--muted-foreground: oklch(0.41 0.038 326.249);
--popover: oklch(0.924 0.028 325.797);
--popover-foreground: oklch(0.352 0.089 327.266);
--card: oklch(0.933 0.024 325.771);
--card-foreground: oklch(0.399 0.104 327.308);
--border: oklch(0.91 0.024 325.773);
--input: oklch(0.885 0.031 325.835);
--primary: oklch(0.691 0.16 341.592);
--primary-foreground: oklch(0.149 0.036 340.738);
--secondary: oklch(0.354 0.067 340.808);
--secondary-foreground: oklch(0.873 0.033 338.001);
--accent: oklch(0.823 0.066 326.156);
--accent-foreground: oklch(0.303 0.074 327.204);
--destructive: oklch(0.395 0.151 31.81);
--destructive-foreground: oklch(0.865 0.073 28.599);
--ring: oklch(0.691 0.16 341.592);
--chart-1: oklch(0.691 0.16 341.592);
--chart-2: oklch(0.354 0.067 340.808);
--chart-3: oklch(0.823 0.066 326.156);
--chart-4: oklch(0.382 0.074 340.875);
--chart-5: oklch(0.691 0.167 341.796);
}