Coordinated for shadcn/ui

Coordinated is a shadcn/ui theme built around a vivid red primary color (#971807) with vivid cyan accents (#078697). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#971807) on a red-tinted background (#0c0403).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0403black
Foreground
#050101black
#ffffffwhite
Card
#fcfcfcsnow
#100604black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#0c0403black
Popover foreground
#050101black
#ffffffwhite
Primary
#971807darkred
#971807darkred
Primary foreground
#fdd8d3mistyrose
#fdd8d3mistyrose
Secondary
#078697darkcyan
#078697darkcyan
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#cee1e3gainsboro
#1c2e31darkslategray
Muted foreground
#435456darkslategray
#a9babcsilver
Accent
#078697darkcyan
#078697darkcyan
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b42813firebrick
#e7381dorangered
Destructive foreground
#fffbfasnow
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#971807darkred
#971807darkred

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.76:1AAA
Text on card20.54:1AAA
Primary button6.50:1AA
Secondary button4.30:1AA Large
Muted text5.87:1AA
Accent4.30:1AA Large
Destructive6.26:1AA
Dark mode
Text on background20.28:1AAA
Text on card20.02:1AAA
Primary button6.50:1AA
Secondary button4.30:1AA Large
Muted text7.00:1AAA
Accent4.30:1AA Large
Destructive4.21:1AA Large

CSS variables

Paste this into your globals.css to use Coordinated in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.083 0.018 35.757);
  --muted: oklch(0.896 0.021 206.322);
  --muted-foreground: oklch(0.432 0.022 206.256);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.083 0.018 35.757);
  --card: oklch(0.992 0 161.565);
  --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.436 0.163 30.975);
  --primary-foreground: oklch(0.912 0.042 26.813);
  --secondary: oklch(0.569 0.097 210.294);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.569 0.097 210.294);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.504 0.179 31.61);
  --destructive-foreground: oklch(0.99 0.004 27.953);
  --ring: oklch(0.436 0.163 30.975);
  --chart-1: oklch(0.436 0.163 30.975);
  --chart-2: oklch(0.569 0.097 210.294);
  --chart-3: oklch(0.569 0.097 210.294);
  --chart-4: oklch(0.609 0.104 210.399);
  --chart-5: oklch(0.439 0.167 30.986);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.019 32.093);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.288 0.025 206.355);
  --muted-foreground: oklch(0.777 0.02 206.312);
  --popover: oklch(0.123 0.019 32.093);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.137 0.022 31.464);
  --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.436 0.163 30.975);
  --primary-foreground: oklch(0.912 0.042 26.813);
  --secondary: oklch(0.569 0.097 210.294);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.569 0.097 210.294);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.609 0.215 31.624);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.436 0.163 30.975);
  --chart-1: oklch(0.436 0.163 30.975);
  --chart-2: oklch(0.569 0.097 210.294);
  --chart-3: oklch(0.569 0.097 210.294);
  --chart-4: oklch(0.609 0.104 210.399);
  --chart-5: oklch(0.439 0.167 30.986);
}