Dark Low Contrast Fire is a shadcn/ui theme built around a neutral gray primary color (#d6d1d1) with muted deep red accents (#4d4242). The light mode uses a red-tinted background (#241e1e). Dark mode keeps the neutral gray primary (#d6d1d1) on a red-tinted background (#241e1e).
| Token | Light | Dark |
|---|---|---|
| Background | #241e1eblack | #241e1eblack |
| Foreground | #b5b0b0darkgray | #b5b0b0darkgray |
| Card | #1e1a1ablack | #1e1a1ablack |
| Card foreground | #c1bdbdsilver | #c1bdbdsilver |
| Popover | #1c1717black | #1c1717black |
| Popover foreground | #cecacalightgrey | #cecacalightgrey |
| Primary | #d6d1d1lightgrey | #d6d1d1lightgrey |
| Primary foreground | #3e3737darkslategray | #3e3737darkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #312626darkslategray | #312626darkslategray |
| Muted foreground | #b5a1a1darkgray | #b5a1a1darkgray |
| Accent | #4d4242darkslategray | #4d4242darkslategray |
| Accent foreground | #e3dedegainsboro | #e3dedegainsboro |
| Destructive | #fb4737tomato | #fb4737tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2e2e2edarkslategray | #2e2e2edarkslategray |
| Input | #363636darkslategray | #363636darkslategray |
| Ring | #d6d1d1lightgrey | #d6d1d1lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 7.63:1 | AAA |
| Text on card | 9.27:1 | AAA |
| Primary button | 7.70:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 7.27:1 | AAA |
| Destructive | 3.46:1 | AA Large |
| Text on background | 7.63:1 | AAA |
| Text on card | 9.27:1 | AAA |
| Primary button | 7.70:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 7.27:1 | AAA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Dark Low Contrast Fire in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.243 0.008 17.729);
--foreground: oklch(0.762 0.005 17.272);
--muted: oklch(0.281 0.016 18.127);
--muted-foreground: oklch(0.726 0.024 17.712);
--popover: oklch(0.211 0.007 17.679);
--popover-foreground: oklch(0.843 0.003 17.225);
--card: oklch(0.222 0.007 17.698);
--card-foreground: oklch(0.803 0.004 17.247);
--border: oklch(0.301 0 189.462);
--input: oklch(0.331 0 180);
--primary: oklch(0.865 0.006 17.268);
--primary-foreground: oklch(0.345 0.01 17.644);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.39 0.016 17.848);
--accent-foreground: oklch(0.904 0.005 17.256);
--destructive: oklch(0.658 0.218 29.407);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.865 0.006 17.268);
--chart-1: oklch(0.865 0.006 17.268);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.39 0.016 17.848);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.863 0.009 17.324);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.243 0.008 17.729);
--foreground: oklch(0.762 0.005 17.272);
--muted: oklch(0.281 0.016 18.127);
--muted-foreground: oklch(0.726 0.024 17.712);
--popover: oklch(0.211 0.007 17.679);
--popover-foreground: oklch(0.843 0.003 17.225);
--card: oklch(0.222 0.007 17.698);
--card-foreground: oklch(0.803 0.004 17.247);
--border: oklch(0.301 0 189.462);
--input: oklch(0.331 0 180);
--primary: oklch(0.865 0.006 17.268);
--primary-foreground: oklch(0.345 0.01 17.644);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.39 0.016 17.848);
--accent-foreground: oklch(0.904 0.005 17.256);
--destructive: oklch(0.658 0.218 29.407);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.865 0.006 17.268);
--chart-1: oklch(0.865 0.006 17.268);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.39 0.016 17.848);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.863 0.009 17.324);
}