Our is a shadcn/ui theme built around a vivid deep pink primary color (#8d074c) with vivid deep red accents (#8d0709). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid deep pink primary (#8d074c) on a pink-tinted background (#0c0308).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fasnow | #0c0308black |
| Foreground | #000000black | #ffffffwhite |
| Card | #faf5f7whitesmoke | #10040ablack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf8fasnow | #0c0308black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #8d074cpurple | #8d074cpurple |
| Primary foreground | #fcc9e4pink | #fcc9e4pink |
| Secondary | #8b078ddarkmagenta | #8b078ddarkmagenta |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e7e4e7gainsboro | #1b181bblack |
| Muted foreground | #585558dimgray | #aaa7aadarkgray |
| Accent | #8d0709darkred | #8d0709darkred |
| Accent foreground | #fcc9capink | #fcc9capink |
| Destructive | #b92713firebrick | #e22f18orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8d074cpurple | #8d074cpurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.95:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 8.35:1 | AAA |
| Muted text | 5.82:1 | AA |
| Accent | 6.61:1 | AA |
| Destructive | 6.27:1 | AA |
| Text on background | 20.33:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 8.35:1 | AAA |
| Muted text | 7.39:1 | AAA |
| Accent | 6.61:1 | AA |
| Destructive | 4.50:1 | AA |
Paste this into your globals.css to use Our in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 344.397);
--foreground: oklch(0 0 0);
--muted: oklch(0.922 0.005 325.14);
--muted-foreground: oklch(0.454 0.007 325.208);
--popover: oklch(0.983 0.004 344.397);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.974 0.006 344.453);
--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.421 0.167 358.45);
--primary-foreground: oklch(0.889 0.067 346.113);
--secondary: oklch(0.45 0.204 327.476);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.408 0.163 28.192);
--accent-foreground: oklch(0.882 0.058 17.196);
--destructive: oklch(0.511 0.184 31.037);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.421 0.167 358.45);
--chart-1: oklch(0.421 0.167 358.45);
--chart-2: oklch(0.45 0.204 327.476);
--chart-3: oklch(0.408 0.163 28.192);
--chart-4: oklch(0.484 0.219 327.475);
--chart-5: oklch(0.425 0.17 358.947);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.026 344.512);
--foreground: oklch(1 0 180);
--muted: oklch(0.214 0.008 325.341);
--muted-foreground: oklch(0.731 0.006 325.16);
--popover: oklch(0.121 0.026 344.512);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.135 0.029 346.378);
--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.421 0.167 358.45);
--primary-foreground: oklch(0.889 0.067 346.113);
--secondary: oklch(0.45 0.204 327.476);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.408 0.163 28.192);
--accent-foreground: oklch(0.882 0.058 17.196);
--destructive: oklch(0.593 0.216 31.022);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.421 0.167 358.45);
--chart-1: oklch(0.421 0.167 358.45);
--chart-2: oklch(0.45 0.204 327.476);
--chart-3: oklch(0.408 0.163 28.192);
--chart-4: oklch(0.484 0.219 327.475);
--chart-5: oklch(0.425 0.17 358.947);
}