Hill is a shadcn/ui theme built around a vivid light pink primary color (#fec8de) with vivid light red accents (#fecec8). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the vivid light pink primary (#fec8de) on a pink-tinted background (#0b0407).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f9snow | #0b0407black |
| Foreground | #110309black | #ffffffwhite |
| Card | #fcf3f6lavenderblush | #0f0609black |
| Card foreground | #0d0207black | #ffffffwhite |
| Popover | #fdf7f9snow | #0b0407black |
| Popover foreground | #110309black | #ffffffwhite |
| Primary | #fec8depink | #fec8depink |
| Primary foreground | #90043cbrown | #90043cbrown |
| Secondary | #fec8f8mistyrose | #fec8f8mistyrose |
| Secondary foreground | #2d0128black | #2d0128black |
| Muted | #ecd5eagainsboro | #2a1328black |
| Muted foreground | #444044darkslategray | #bfbbbesilver |
| Accent | #fecec8pink | #fecec8pink |
| Accent foreground | #901204darkred | #901204darkred |
| Destructive | #910f03darkred | #fb3e2dtomato |
| Destructive foreground | #fecdc8pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fec8depink | #fec8depink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.04:1 | AAA |
| Text on card | 18.71:1 | AAA |
| Primary button | 6.40:1 | AA |
| Secondary button | 12.94:1 | AAA |
| Muted text | 7.39:1 | AAA |
| Accent | 6.52:1 | AA |
| Destructive | 6.50:1 | AA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.03:1 | AAA |
| Primary button | 6.40:1 | AA |
| Secondary button | 12.94:1 | AAA |
| Muted text | 9.04:1 | AAA |
| Accent | 6.52:1 | AA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Hill in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 350.836);
--foreground: oklch(0.132 0.034 352.486);
--muted: oklch(0.898 0.038 329.048);
--muted-foreground: oklch(0.378 0.008 328.825);
--popover: oklch(0.981 0.007 350.836);
--popover-foreground: oklch(0.132 0.034 352.486);
--card: oklch(0.971 0.011 350.946);
--card-foreground: oklch(0.118 0.029 350.665);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.887 0.066 352.636);
--primary-foreground: oklch(0.421 0.166 7.866);
--secondary: oklch(0.895 0.086 329.609);
--secondary-foreground: oklch(0.206 0.089 332.799);
--accent: oklch(0.89 0.055 25.614);
--accent-foreground: oklch(0.419 0.161 30.663);
--destructive: oklch(0.419 0.163 30.339);
--destructive-foreground: oklch(0.889 0.057 24.316);
--ring: oklch(0.887 0.066 352.636);
--chart-1: oklch(0.887 0.066 352.636);
--chart-2: oklch(0.895 0.086 329.609);
--chart-3: oklch(0.89 0.055 25.614);
--chart-4: oklch(0.923 0.062 329.315);
--chart-5: oklch(0.886 0.068 352.7);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.018 350.442);
--foreground: oklch(1 0 180);
--muted: oklch(0.23 0.051 330.848);
--muted-foreground: oklch(0.795 0.007 328.685);
--popover: oklch(0.123 0.018 350.442);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.137 0.021 351.941);
--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.887 0.066 352.636);
--primary-foreground: oklch(0.421 0.166 7.866);
--secondary: oklch(0.895 0.086 329.609);
--secondary-foreground: oklch(0.206 0.089 332.799);
--accent: oklch(0.89 0.055 25.614);
--accent-foreground: oklch(0.419 0.161 30.663);
--destructive: oklch(0.649 0.226 29.726);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.887 0.066 352.636);
--chart-1: oklch(0.887 0.066 352.636);
--chart-2: oklch(0.895 0.086 329.609);
--chart-3: oklch(0.89 0.055 25.614);
--chart-4: oklch(0.923 0.062 329.315);
--chart-5: oklch(0.886 0.068 352.7);
}