High is a shadcn/ui theme built around a muted pink primary color (#764760) with muted pink accents (#c4b0bb). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#764760) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0e0208black | #fbf9fasnow |
| Card | #ffffffwhite | #000000black |
| Card foreground | #0e0208black | #fbf9fasnow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0e0208black | #fbf9fasnow |
| Primary | #764760dimgray | #764760dimgray |
| Primary foreground | #f9f5f7whitesmoke | #f9f5f7whitesmoke |
| Secondary | #d1cccflightgrey | #282426darkslategray |
| Secondary foreground | #393236darkslategray | #c2bcbfsilver |
| Muted | #e8d8e1gainsboro | #27171fblack |
| Muted foreground | #474747darkslategray | #b8b8b8silver |
| Accent | #c4b0bbsilver | #3d2f36darkslategray |
| Accent foreground | #261c21black | #d5c8cflightgrey |
| Destructive | #cd0e04firebrick | #fb3328orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #764760dimgray | #764760dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.37:1 | AAA |
| Text on card | 20.37:1 | AAA |
| Primary button | 6.85:1 | AA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 6.81:1 | AA |
| Accent | 8.08:1 | AAA |
| Destructive | 5.73:1 | AA |
| Text on background | 20.03:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 6.85:1 | AA |
| Secondary button | 8.16:1 | AAA |
| Muted text | 8.64:1 | AAA |
| Accent | 7.88:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use High in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.118 0.035 344.07);
--muted: oklch(0.899 0.021 344.014);
--muted-foreground: oklch(0.399 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.118 0.035 344.07);
--card: oklch(1 0 180);
--card-foreground: oklch(0.118 0.035 344.07);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.46 0.073 347.142);
--primary-foreground: oklch(0.975 0.005 343.57);
--secondary: oklch(0.85 0.008 343.67);
--secondary-foreground: oklch(0.327 0.011 344.256);
--accent: oklch(0.778 0.028 344.325);
--accent-foreground: oklch(0.241 0.018 345.239);
--destructive: oklch(0.536 0.215 29.594);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.46 0.073 347.142);
--chart-1: oklch(0.46 0.073 347.142);
--chart-2: oklch(0.85 0.008 343.67);
--chart-3: oklch(0.778 0.028 344.325);
--chart-4: oklch(0.874 0.006 343.628);
--chart-5: oklch(0.459 0.082 347.586);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.983 0.003 343.534);
--muted: oklch(0.228 0.03 346.474);
--muted-foreground: oklch(0.781 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.983 0.003 343.534);
--card: oklch(0 0 0);
--card-foreground: oklch(0.983 0.003 343.534);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.46 0.073 347.142);
--primary-foreground: oklch(0.975 0.005 343.57);
--secondary: oklch(0.267 0.007 344.069);
--secondary-foreground: oklch(0.802 0.009 343.71);
--accent: oklch(0.322 0.024 345.199);
--accent-foreground: oklch(0.846 0.017 343.932);
--destructive: oklch(0.64 0.235 28.852);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.46 0.073 347.142);
--chart-1: oklch(0.46 0.073 347.142);
--chart-2: oklch(0.267 0.007 344.069);
--chart-3: oklch(0.322 0.024 345.199);
--chart-4: oklch(0.297 0.008 344.098);
--chart-5: oklch(0.459 0.082 347.586);
}