Luxurious Hair is a shadcn/ui theme built around a yellow primary color (#d0ad4e) with muted violet accents (#b299bb). The light mode uses a yellow-tinted background (#eeece4). Dark mode keeps the yellow primary (#d0ad4e) on a pink-tinted background (#130a0f).
| Token | Light | Dark |
|---|---|---|
| Background | #eeece4linen | #130a0fblack |
| Foreground | #0c0a03black | #ffffffwhite |
| Card | #faf8f5whitesmoke | #070603black |
| Card foreground | #080702black | #ffffffwhite |
| Popover | #fffaebfloralwhite | #070603black |
| Popover foreground | #080702black | #ffffffwhite |
| Primary | #d0ad4edarkkhaki | #d0ad4edarkkhaki |
| Primary foreground | #030301black | #000000black |
| Secondary | #82bdb8mediumaquamarine | #82b9abdarkseagreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #f8f8eefloralwhite | #1a1e1dblack |
| Muted foreground | #48514fdarkslategray | #aeb7b5darkgray |
| Accent | #b299bbdarkgray | #5a4163dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #981201darkred | #8a3024saddlebrown |
| Destructive foreground | #ffd2ccpink | #ffffffwhite |
| Border | #d7cbaasilver | #1e1d1ablack |
| Input | #e5e4e1gainsboro | #1e1d1ablack |
| Ring | #d0ad4edarkkhaki | #d0ad4edarkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.70:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 9.61:1 | AAA |
| Secondary button | 9.93:1 | AAA |
| Muted text | 7.66:1 | AAA |
| Accent | 2.57:1 | Fail |
| Destructive | 6.31:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 9.77:1 | AAA |
| Secondary button | 9.50:1 | AAA |
| Muted text | 8.18:1 | AAA |
| Accent | 8.83:1 | AAA |
| Destructive | 8.30:1 | AAA |
Paste this into your globals.css to use Luxurious Hair in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.942 0.011 90.205);
--foreground: oklch(0.144 0.019 94.97);
--muted: oklch(0.976 0.013 109.261);
--muted-foreground: oklch(0.426 0.012 177.924);
--popover: oklch(0.984 0.02 90.266);
--popover-foreground: oklch(0.126 0.017 95.779);
--card: oklch(0.98 0.005 90.158);
--card-foreground: oklch(0.126 0.017 95.779);
--border: oklch(0.843 0.046 90.414);
--input: oklch(0.919 0.005 90.159);
--primary: oklch(0.761 0.121 89.212);
--primary-foreground: oklch(0.093 0.011 104.482);
--secondary: oklch(0.757 0.062 188.519);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.716 0.057 317.008);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.435 0.168 31.11);
--destructive-foreground: oklch(0.901 0.051 26.922);
--ring: oklch(0.761 0.121 89.212);
--chart-1: oklch(0.761 0.121 89.212);
--chart-2: oklch(0.757 0.062 188.519);
--chart-3: oklch(0.716 0.057 317.008);
--chart-4: oklch(0.776 0.058 188.727);
--chart-5: oklch(0.767 0.125 89.014);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.02 340.788);
--foreground: oklch(1 0 180);
--muted: oklch(0.232 0.007 177.872);
--muted-foreground: oklch(0.772 0.011 178.377);
--popover: oklch(0.123 0.012 94.265);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.012 94.265);
--card-foreground: oklch(1 0 180);
--border: oklch(0.231 0.006 90.308);
--input: oklch(0.231 0.006 90.308);
--primary: oklch(0.761 0.121 89.212);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.744 0.062 176.108);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.417 0.063 316.901);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.439 0.126 30.343);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.761 0.121 89.212);
--chart-1: oklch(0.761 0.121 89.212);
--chart-2: oklch(0.744 0.062 176.108);
--chart-3: oklch(0.417 0.063 316.901);
--chart-4: oklch(0.764 0.057 176.416);
--chart-5: oklch(0.767 0.125 89.014);
}