Pink is a shadcn/ui theme built around a vivid light green primary color (#ccfac7) with muted light green accents (#e7efe7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light green primary (#ccfac7) on a green-tinted background (#070e07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070e07black |
| Foreground | #061004black | #ffffffwhite |
| Card | #ffffffwhite | #070e07black |
| Card foreground | #061004black | #ffffffwhite |
| Popover | #ffffffwhite | #070e07black |
| Popover foreground | #061004black | #ffffffwhite |
| Primary | #ccfac7gainsboro | #ccfac7gainsboro |
| Primary foreground | #072603black | #072603black |
| Secondary | #e7efe7beige | #293a27darkslategray |
| Secondary foreground | #1a2518black | #c1d4bfsilver |
| Muted | #d8e5d6gainsboro | #1b291ablack |
| Muted foreground | #3c453bdarkslategray | #bbc4basilver |
| Accent | #e7efe7beige | #293a27darkslategray |
| Accent foreground | #1a2518black | #c1d4bfsilver |
| Destructive | #a51d09firebrick | #f5563dtomato |
| Destructive foreground | #fde6e2mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ccfac7gainsboro | #ccfac7gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.37:1 | AAA |
| Text on card | 19.37:1 | AAA |
| Primary button | 14.03:1 | AAA |
| Secondary button | 13.51:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 13.51:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 14.03:1 | AAA |
| Secondary button | 7.76:1 | AAA |
| Muted text | 8.52:1 | AAA |
| Accent | 7.76:1 | AAA |
| Destructive | 6.26:1 | AA |
Paste this into your globals.css to use Pink in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.158 0.031 141.069);
--muted: oklch(0.909 0.025 142.514);
--muted-foreground: oklch(0.378 0.021 142.401);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.158 0.031 141.069);
--card: oklch(1 0 180);
--card-foreground: oklch(0.158 0.031 141.069);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.94 0.083 142.262);
--primary-foreground: oklch(0.235 0.07 141.107);
--secondary: oklch(0.943 0.013 142.569);
--secondary-foreground: oklch(0.249 0.028 142.172);
--accent: oklch(0.943 0.013 142.569);
--accent-foreground: oklch(0.249 0.028 142.172);
--destructive: oklch(0.467 0.173 31.418);
--destructive-foreground: oklch(0.942 0.027 28.101);
--ring: oklch(0.94 0.083 142.262);
--chart-1: oklch(0.94 0.083 142.262);
--chart-2: oklch(0.943 0.013 142.569);
--chart-3: oklch(0.943 0.013 142.569);
--chart-4: oklch(0.965 0.008 142.592);
--chart-5: oklch(0.941 0.086 142.25);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.018 141.713);
--foreground: oklch(1 0 180);
--muted: oklch(0.262 0.034 142.101);
--muted-foreground: oklch(0.811 0.017 142.54);
--popover: oklch(0.152 0.018 141.713);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.152 0.018 141.713);
--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.94 0.083 142.262);
--primary-foreground: oklch(0.235 0.07 141.107);
--secondary: oklch(0.328 0.04 142.119);
--secondary-foreground: oklch(0.85 0.036 142.454);
--accent: oklch(0.328 0.04 142.119);
--accent-foreground: oklch(0.85 0.036 142.454);
--destructive: oklch(0.664 0.199 31.431);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.94 0.083 142.262);
--chart-1: oklch(0.94 0.083 142.262);
--chart-2: oklch(0.328 0.04 142.119);
--chart-3: oklch(0.328 0.04 142.119);
--chart-4: oklch(0.36 0.046 142.105);
--chart-5: oklch(0.941 0.086 142.25);
}