blackpink is a shadcn/ui theme built around a deep purple primary color (#250a2f) with deep teal accents (#0a2f25). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep purple primary (#250a2f) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0a020dblack | #fdfcfdwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #0a020dblack | #fdfcfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0a020dblack | #fdfcfdwhite |
| Primary | #250a2fblack | #250a2fblack |
| Primary foreground | #cd84e6orchid | #cd84e6orchid |
| Secondary | #2f250ablack | #2f250ablack |
| Secondary foreground | #d5ab30goldenrod | #d5ab30goldenrod |
| Muted | #e5e1d7gainsboro | #28251ablack |
| Muted foreground | #4e4d4bdarkslategray | #b4b3b1darkgray |
| Accent | #0a2f25black | #0a2f25black |
| Accent foreground | #30d5ablightseagreen | #30d5ablightseagreen |
| Destructive | #93100bdarkred | #d51710firebrick |
| Destructive foreground | #fcd6d4mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #250a2fblack | #250a2fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.43:1 | AAA |
| Text on card | 20.43:1 | AAA |
| Primary button | 6.92:1 | AA |
| Secondary button | 6.96:1 | AA |
| Muted text | 6.48:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 20.51:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 6.92:1 | AA |
| Secondary button | 6.96:1 | AA |
| Muted text | 7.32:1 | AAA |
| Accent | 7.80:1 | AAA |
| Destructive | 5.29:1 | AA |
Paste this into your globals.css to use blackpink in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.118 0.034 319.627);
--muted: oklch(0.911 0.015 91.549);
--muted-foreground: oklch(0.421 0.004 91.489);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.118 0.034 319.627);
--card: oklch(1 0 180);
--card-foreground: oklch(0.118 0.034 319.627);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.21 0.075 316.586);
--primary-foreground: oklch(0.725 0.156 317.317);
--secondary: oklch(0.27 0.044 90.575);
--secondary-foreground: oklch(0.759 0.141 89.172);
--accent: oklch(0.274 0.045 172.957);
--accent-foreground: oklch(0.781 0.143 171.011);
--destructive: oklch(0.424 0.164 28.924);
--destructive-foreground: oklch(0.907 0.043 20.311);
--ring: oklch(0.21 0.075 316.586);
--chart-1: oklch(0.21 0.075 316.586);
--chart-2: oklch(0.27 0.044 90.575);
--chart-3: oklch(0.274 0.045 172.957);
--chart-4: oklch(0.312 0.053 90.26);
--chart-5: oklch(0.21 0.078 316.49);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 317.761);
--muted: oklch(0.264 0.02 91.815);
--muted-foreground: oklch(0.768 0.003 91.447);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 317.761);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 317.761);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.21 0.075 316.586);
--primary-foreground: oklch(0.725 0.156 317.317);
--secondary: oklch(0.27 0.044 90.575);
--secondary-foreground: oklch(0.759 0.141 89.172);
--accent: oklch(0.274 0.045 172.957);
--accent-foreground: oklch(0.781 0.143 171.011);
--destructive: oklch(0.556 0.219 29.102);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.21 0.075 316.586);
--chart-1: oklch(0.21 0.075 316.586);
--chart-2: oklch(0.27 0.044 90.575);
--chart-3: oklch(0.274 0.045 172.957);
--chart-4: oklch(0.312 0.053 90.26);
--chart-5: oklch(0.21 0.078 316.49);
}