Concept is a shadcn/ui theme built around a deep red primary color (#120708) with deep blue accents (#070812). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the deep red primary (#120708) on a red-tinted background (#0d0708).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #0d0708black |
| Foreground | #090102black | #fbf9f9snow |
| Card | #fbf8f9snow | #11090ablack |
| Card foreground | #050101black | #fdfcfcsnow |
| Popover | #fdfcfcsnow | #0d0708black |
| Popover foreground | #090102black | #fbf9f9snow |
| Primary | #120708black | #120708black |
| Primary foreground | #ce7e86palevioletred | #ce7e86palevioletred |
| Secondary | #081207black | #081207black |
| Secondary foreground | #49a63fseagreen | #49a63fseagreen |
| Muted | #dadddagainsboro | #222522black |
| Muted foreground | #3e4e3cdarkslategray | #b3c3b1silver |
| Accent | #070812black | #070812black |
| Accent foreground | #c8cbealightgrey | #c8cbealightgrey |
| Destructive | #802105maroon | #f7501dorangered |
| Destructive foreground | #fdcabapeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #120708black | #120708black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.13:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 6.17:1 | AA |
| Muted text | 6.49:1 | AA |
| Accent | 12.51:1 | AAA |
| Destructive | 6.69:1 | AA |
| Text on background | 19.03:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 6.55:1 | AA |
| Secondary button | 6.17:1 | AA |
| Muted text | 8.33:1 | AAA |
| Accent | 12.51:1 | AAA |
| Destructive | 3.44:1 | AA Large |
Paste this into your globals.css to use Concept in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 10.115);
--foreground: oklch(0.099 0.027 12.637);
--muted: oklch(0.894 0.006 142.6);
--muted-foreground: oklch(0.404 0.036 142.262);
--popover: oklch(0.991 0.002 10.115);
--popover-foreground: oklch(0.099 0.027 12.637);
--card: oklch(0.983 0.003 10.154);
--card-foreground: oklch(0.078 0.022 12.637);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.147 0.022 12.624);
--primary-foreground: oklch(0.679 0.1 13.605);
--secondary: oklch(0.17 0.028 141.606);
--secondary-foreground: oklch(0.647 0.167 141.693);
--accent: oklch(0.14 0.023 277.367);
--accent-foreground: oklch(0.849 0.043 280.42);
--destructive: oklch(0.4 0.134 35.594);
--destructive-foreground: oklch(0.878 0.062 37.592);
--ring: oklch(0.147 0.022 12.624);
--chart-1: oklch(0.147 0.022 12.624);
--chart-2: oklch(0.17 0.028 141.606);
--chart-3: oklch(0.14 0.023 277.367);
--chart-4: oklch(0.213 0.041 141.852);
--chart-5: oklch(0.147 0.023 12.785);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.012 11.153);
--foreground: oklch(0.984 0.002 10.113);
--muted: oklch(0.262 0.008 142.502);
--muted-foreground: oklch(0.8 0.03 142.471);
--popover: oklch(0.139 0.012 11.153);
--popover-foreground: oklch(0.984 0.002 10.113);
--card: oklch(0.15 0.014 11.974);
--card-foreground: oklch(0.992 0.001 10.095);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.147 0.022 12.624);
--primary-foreground: oklch(0.679 0.1 13.605);
--secondary: oklch(0.17 0.028 141.606);
--secondary-foreground: oklch(0.647 0.167 141.693);
--accent: oklch(0.14 0.023 277.367);
--accent-foreground: oklch(0.849 0.043 280.42);
--destructive: oklch(0.658 0.212 35.946);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.147 0.022 12.624);
--chart-1: oklch(0.147 0.022 12.624);
--chart-2: oklch(0.17 0.028 141.606);
--chart-3: oklch(0.14 0.023 277.367);
--chart-4: oklch(0.213 0.041 141.852);
--chart-5: oklch(0.147 0.023 12.785);
}