Lunar Pink is a shadcn/ui theme built around a vivid purple primary color (#e723af) with neutral gray accents (#383838). The light mode uses a neutral background (#121212). Dark mode keeps the vivid purple primary (#e723af) on a neutral background (#121212).
| Token | Light | Dark |
|---|---|---|
| Background | #121212black | #121212black |
| Foreground | #dededegainsboro | #dededegainsboro |
| Card | #0d0d0dblack | #0d0d0dblack |
| Card foreground | #ebebeblinen | #ebebeblinen |
| Popover | #0a0a0ablack | #0a0a0ablack |
| Popover foreground | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Primary | #e723afdeeppink | #e723afdeeppink |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d2acc8thistle | #d2acc8thistle |
| Secondary foreground | #321b2bdarkslategray | #321b2bdarkslategray |
| Muted | #2b2222darkslategray | #2b2222darkslategray |
| Muted foreground | #b09b9brosybrown | #b09b9brosybrown |
| Accent | #383838darkslategray | #383838darkslategray |
| Accent foreground | #d1d1d1lightgrey | #d1d1d1lightgrey |
| Destructive | #f6120ered | #f6120ered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1f1f1fblack | #1f1f1fblack |
| Input | #262626darkslategray | #262626darkslategray |
| Ring | #e723afdeeppink | #e723afdeeppink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.94:1 | AAA |
| Text on card | 16.32:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 7.90:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 4.18:1 | AA Large |
| Text on background | 13.94:1 | AAA |
| Text on card | 16.32:1 | AAA |
| Primary button | 4.00:1 | AA Large |
| Secondary button | 7.90:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Lunar Pink in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.182 0 164.055);
--foreground: oklch(0.9 0 188.746);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.146 0 180);
--popover-foreground: oklch(0.977 0 180);
--card: oklch(0.158 0 169.695);
--card-foreground: oklch(0.939 0 180);
--border: oklch(0.238 0 161.565);
--input: oklch(0.27 0 180);
--primary: oklch(0.63 0.253 343.448);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.787 0.058 336.464);
--secondary-foreground: oklch(0.259 0.045 338.12);
--accent: oklch(0.341 0 158.199);
--accent-foreground: oklch(0.861 0 180);
--destructive: oklch(0.615 0.247 29.032);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.63 0.253 343.448);
--chart-1: oklch(0.63 0.253 343.448);
--chart-2: oklch(0.787 0.058 336.464);
--chart-3: oklch(0.341 0 158.199);
--chart-4: oklch(0.813 0.05 336.273);
--chart-5: oklch(0.635 0.258 343.735);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.182 0 164.055);
--foreground: oklch(0.9 0 188.746);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.146 0 180);
--popover-foreground: oklch(0.977 0 180);
--card: oklch(0.158 0 169.695);
--card-foreground: oklch(0.939 0 180);
--border: oklch(0.238 0 161.565);
--input: oklch(0.27 0 180);
--primary: oklch(0.63 0.253 343.448);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.787 0.058 336.464);
--secondary-foreground: oklch(0.259 0.045 338.12);
--accent: oklch(0.341 0 158.199);
--accent-foreground: oklch(0.861 0 180);
--destructive: oklch(0.615 0.247 29.032);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.63 0.253 343.448);
--chart-1: oklch(0.63 0.253 343.448);
--chart-2: oklch(0.787 0.058 336.464);
--chart-3: oklch(0.341 0 158.199);
--chart-4: oklch(0.813 0.05 336.273);
--chart-5: oklch(0.635 0.258 343.735);
}