Natural is a shadcn/ui theme built around a muted pink primary color (#83495c) with muted light pink accents (#e3d9dc). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#83495c) on a neutral background (#070304).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070304black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #070304black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #070304black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #83495cdimgray | #83495cdimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e3d9dcgainsboro | #222021black |
| Secondary foreground | #4f3b41darkslategray | #bdb7b9silver |
| Muted | #ede3e6linen | #1c1215black |
| Muted foreground | #604d53dimgray | #b29fa5darkgray |
| Accent | #e3d9dcgainsboro | #222021black |
| Accent foreground | #4f3b41darkslategray | #bdb7b9silver |
| Destructive | #750c01maroon | #fe240borangered |
| Destructive foreground | #ffb1a9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #83495cdimgray | #83495cdimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.82:1 | AA |
| Secondary button | 7.47:1 | AAA |
| Muted text | 6.24:1 | AA |
| Accent | 7.47:1 | AAA |
| Destructive | 6.70:1 | AA |
| Text on background | 20.47:1 | AAA |
| Text on card | 20.47:1 | AAA |
| Primary button | 6.82:1 | AA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 7.31:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Natural in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.925 0.011 355.964);
--muted-foreground: oklch(0.442 0.027 357.324);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.48 0.081 0.251);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.894 0.012 355.991);
--secondary-foreground: oklch(0.376 0.031 357.881);
--accent: oklch(0.894 0.012 355.991);
--accent-foreground: oklch(0.376 0.031 357.881);
--destructive: oklch(0.359 0.138 31.198);
--destructive-foreground: oklch(0.833 0.092 26.263);
--ring: oklch(0.48 0.081 0.251);
--chart-1: oklch(0.48 0.081 0.251);
--chart-2: oklch(0.894 0.012 355.991);
--chart-3: oklch(0.894 0.012 355.991);
--chart-4: oklch(0.919 0.009 355.895);
--chart-5: oklch(0.479 0.089 0.794);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.01 355.444);
--foreground: oklch(1 0 180);
--muted: oklch(0.197 0.017 357.988);
--muted-foreground: oklch(0.72 0.024 356.551);
--popover: oklch(0.11 0.01 355.444);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.11 0.01 355.444);
--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.48 0.081 0.251);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.246 0.004 356.116);
--secondary-foreground: oklch(0.786 0.007 355.86);
--accent: oklch(0.246 0.004 356.116);
--accent-foreground: oklch(0.786 0.007 355.86);
--destructive: oklch(0.636 0.247 30.374);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.48 0.081 0.251);
--chart-1: oklch(0.48 0.081 0.251);
--chart-2: oklch(0.246 0.004 356.116);
--chart-3: oklch(0.246 0.004 356.116);
--chart-4: oklch(0.277 0.005 356.146);
--chart-5: oklch(0.479 0.089 0.794);
}