Pink is a shadcn/ui theme built around a muted cyan primary color (#6e8b96) with muted orange accents (#96796e). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the muted cyan primary (#6e8b96) on a cyan-tinted background (#070c0d).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #070c0dblack |
| Foreground | #010709black | #fcfdfdwhite |
| Card | #f8fbfcghostwhite | #090e11black |
| Card foreground | #010304black | #ffffffwhite |
| Popover | #f8fbfcghostwhite | #090e11black |
| Popover foreground | #010304black | #ffffffwhite |
| Primary | #6e8b96lightslategray | #6e8b96lightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #96796egray | #96796egray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e6d7d0gainsboro | #2f1f19black |
| Muted foreground | #514e4ddarkslategray | #b2afaedarkgray |
| Accent | #96796egray | #96796egray |
| Accent foreground | #000000black | #000000black |
| Destructive | #9a150edarkred | #eb372dcrimson |
| Destructive foreground | #fce0demistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6e8b96lightslategray | #6e8b96lightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 5.78:1 | AA |
| Secondary button | 5.27:1 | AA |
| Muted text | 5.87:1 | AA |
| Accent | 5.27:1 | AA |
| Destructive | 6.77:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 5.78:1 | AA |
| Secondary button | 5.27:1 | AA |
| Muted text | 7.25:1 | AAA |
| Accent | 5.27:1 | AA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Pink in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 223.146);
--foreground: oklch(0.119 0.015 216.563);
--muted: oklch(0.889 0.02 42.943);
--muted-foreground: oklch(0.427 0.003 43.059);
--popover: oklch(0.986 0.003 223.163);
--popover-foreground: oklch(0.094 0.012 216.563);
--card: oklch(0.986 0.003 223.163);
--card-foreground: oklch(0.094 0.012 216.563);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.618 0.037 223.953);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.602 0.04 42.675);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.602 0.04 42.675);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.441 0.167 29.175);
--destructive-foreground: oklch(0.929 0.031 21.338);
--ring: oklch(0.618 0.037 223.953);
--chart-1: oklch(0.618 0.037 223.953);
--chart-2: oklch(0.602 0.04 42.675);
--chart-3: oklch(0.602 0.04 42.675);
--chart-4: oklch(0.627 0.037 42.713);
--chart-5: oklch(0.62 0.043 224.16);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.148 0.008 222.482);
--foreground: oklch(0.993 0.001 223.138);
--muted: oklch(0.257 0.027 42.482);
--muted-foreground: oklch(0.756 0.003 43.095);
--popover: oklch(0.161 0.01 223.845);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.161 0.01 223.845);
--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.618 0.037 223.953);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.602 0.04 42.675);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.602 0.04 42.675);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.617 0.218 28.488);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.618 0.037 223.953);
--chart-1: oklch(0.618 0.037 223.953);
--chart-2: oklch(0.602 0.04 42.675);
--chart-3: oklch(0.602 0.04 42.675);
--chart-4: oklch(0.627 0.037 42.713);
--chart-5: oklch(0.62 0.043 224.16);
}