Pink is a shadcn/ui theme built around a muted cyan primary color (#93b5be) with muted red accents (#be9b93). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted cyan primary (#93b5be) on a cyan-tinted background (#040a0c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #040a0cblack |
| Foreground | #030e11black | #fcfdfdwhite |
| Card | #fbfdfewhite | #040a0cblack |
| Card foreground | #030e11black | #fcfdfdwhite |
| Popover | #fbfdfewhite | #040a0cblack |
| Popover foreground | #030e11black | #fcfdfdwhite |
| Primary | #93b5bedarkgray | #93b5bedarkgray |
| Primary foreground | #0b1213black | #0b1213black |
| Secondary | #be9b93rosybrown | #be9b93rosybrown |
| Secondary foreground | #130d0bblack | #130d0bblack |
| Muted | #e9d3cdgainsboro | #321b16black |
| Muted foreground | #544440darkslategray | #bfafabdarkgray |
| Accent | #be9b93rosybrown | #be9b93rosybrown |
| Accent foreground | #130d0bblack | #130d0bblack |
| Destructive | #aa2c09firebrick | #f34212orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ebefefwhitesmoke | #1d2425black |
| Input | #ebefefwhitesmoke | #1d2425black |
| Ring | #93b5bedarkgray | #93b5bedarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 8.65:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 6.44:1 | AA |
| Accent | 7.62:1 | AAA |
| Destructive | 6.86:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 8.65:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 7.61:1 | AAA |
| Accent | 7.62:1 | AAA |
| Destructive | 3.75: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.003 214.324);
--foreground: oklch(0.155 0.02 213.092);
--muted: oklch(0.883 0.026 34.301);
--muted-foreground: oklch(0.402 0.022 34.348);
--popover: oklch(0.993 0.003 214.324);
--popover-foreground: oklch(0.155 0.02 213.092);
--card: oklch(0.993 0.003 214.324);
--card-foreground: oklch(0.155 0.02 213.092);
--border: oklch(0.948 0.004 214.328);
--input: oklch(0.948 0.004 214.328);
--primary: oklch(0.751 0.04 214.626);
--primary-foreground: oklch(0.175 0.01 214.676);
--secondary: oklch(0.72 0.043 34.362);
--secondary-foreground: oklch(0.167 0.011 34.382);
--accent: oklch(0.72 0.043 34.362);
--accent-foreground: oklch(0.167 0.011 34.382);
--destructive: oklch(0.488 0.167 34.502);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.751 0.04 214.626);
--chart-1: oklch(0.751 0.04 214.626);
--chart-2: oklch(0.72 0.043 34.362);
--chart-3: oklch(0.72 0.043 34.362);
--chart-4: oklch(0.745 0.039 34.34);
--chart-5: oklch(0.754 0.044 214.689);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.013 211.146);
--foreground: oklch(0.993 0.001 214.32);
--muted: oklch(0.252 0.037 34.787);
--muted-foreground: oklch(0.767 0.019 34.298);
--popover: oklch(0.137 0.013 211.146);
--popover-foreground: oklch(0.993 0.001 214.32);
--card: oklch(0.137 0.013 211.146);
--card-foreground: oklch(0.993 0.001 214.32);
--border: oklch(0.253 0.01 214.52);
--input: oklch(0.253 0.01 214.52);
--primary: oklch(0.751 0.04 214.626);
--primary-foreground: oklch(0.175 0.01 214.676);
--secondary: oklch(0.72 0.043 34.362);
--secondary-foreground: oklch(0.167 0.011 34.382);
--accent: oklch(0.72 0.043 34.362);
--accent-foreground: oklch(0.167 0.011 34.382);
--destructive: oklch(0.637 0.219 34.467);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.751 0.04 214.626);
--chart-1: oklch(0.751 0.04 214.626);
--chart-2: oklch(0.72 0.043 34.362);
--chart-3: oklch(0.72 0.043 34.362);
--chart-4: oklch(0.745 0.039 34.34);
--chart-5: oklch(0.754 0.044 214.689);
}