Integral Old Burgundy for shadcn/ui

Integral Old Burgundy is a shadcn/ui theme built around a vivid red primary color (#e54d2e) with near-white accents (#e8e8e8). The light mode uses a neutral background (#fcfcfc). Dark mode switches to a muted deep red primary (#442f2d) on a neutral background (#28282d).

Color palette

TokenLightDark
Background
#fcfcfcsnow
#28282ddarkslategray
Foreground
#202020black
#eeeeeewhitesmoke
Card
#f9f9f9ghostwhite
#2f2f34darkslategray
Card foreground
#202020black
#eeeeeewhitesmoke
Popover
#f9f9f9ghostwhite
#191919black
Popover foreground
#202020black
#eeeeeewhitesmoke
Primary
#e54d2echocolate
#442f2ddarkslategray
Primary foreground
#fcfcfcsnow
#e35930chocolate
Secondary
#8d8d8dgray
#6e6e6edimgray
Secondary foreground
#fcfcfcsnow
#eeeeeewhitesmoke
Muted
#f9f9f9ghostwhite
#442f2ddarkslategray
Muted foreground
#646464dimgray
#828285gray
Accent
#e8e8e8lavender
#2a2a2adarkslategray
Accent foreground
#202020black
#eeeeeewhitesmoke
Destructive
#d32f2fcrimson
#e5484dindianred
Destructive foreground
#fcfcfcsnow
#eeeeeewhitesmoke
Border
#d9d9d9gainsboro
#3f3f44darkslategray
Input
#cececelightgrey
#1d1d20black
Ring
#e54d2echocolate
#e54d2echocolate

Contrast

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

Light mode
Text on background15.87:1AAA
Text on card15.47:1AAA
Primary button3.76:1AA Large
Secondary button3.23:1AA Large
Muted text5.62:1AA
Accent13.29:1AAA
Destructive4.85:1AA
Dark mode
Text on background12.64:1AAA
Text on card11.47:1AAA
Primary button3.39:1AA Large
Secondary button4.39:1AA Large
Muted text3.24:1AA Large
Accent12.37:1AAA
Destructive3.37:1AA Large

CSS variables

Paste this into your globals.css to use Integral Old Burgundy in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0 180);
  --foreground: oklch(0.244 0 169.695);
  --muted: oklch(0.982 0 161.565);
  --muted-foreground: oklch(0.503 0 180);
  --popover: oklch(0.982 0 161.565);
  --popover-foreground: oklch(0.244 0 169.695);
  --card: oklch(0.982 0 161.565);
  --card-foreground: oklch(0.244 0 169.695);
  --border: oklch(0.885 0 172.405);
  --input: oklch(0.851 0 180);
  --primary: oklch(0.627 0.194 33.201);
  --primary-foreground: oklch(0.991 0 180);
  --secondary: oklch(0.643 0 158.199);
  --secondary-foreground: oklch(0.991 0 180);
  --accent: oklch(0.931 0 171.254);
  --accent-foreground: oklch(0.244 0 169.695);
  --destructive: oklch(0.568 0.2 26.405);
  --destructive-foreground: oklch(0.991 0 180);
  --ring: oklch(0.627 0.194 33.201);
  --chart-1: oklch(0.627 0.194 33.201);
  --chart-2: oklch(0.643 0 158.199);
  --chart-3: oklch(0.931 0 171.254);
  --chart-4: oklch(0.669 0 168.69);
  --chart-5: oklch(0.63 0.2 33.17);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.279 0.009 285.794);
  --foreground: oklch(0.949 0 180);
  --muted: oklch(0.329 0.031 25.041);
  --muted-foreground: oklch(0.608 0.004 286.266);
  --popover: oklch(0.213 0 168.69);
  --popover-foreground: oklch(0.949 0 180);
  --card: oklch(0.307 0.009 285.865);
  --card-foreground: oklch(0.949 0 180);
  --border: oklch(0.37 0.008 285.977);
  --input: oklch(0.232 0.006 285.946);
  --primary: oklch(0.329 0.031 25.041);
  --primary-foreground: oklch(0.638 0.181 36.782);
  --secondary: oklch(0.538 0 171.87);
  --secondary-foreground: oklch(0.949 0 180);
  --accent: oklch(0.285 0 168.69);
  --accent-foreground: oklch(0.949 0 180);
  --destructive: oklch(0.626 0.193 23.027);
  --destructive-foreground: oklch(0.949 0 180);
  --ring: oklch(0.627 0.194 33.201);
  --chart-1: oklch(0.329 0.031 25.041);
  --chart-2: oklch(0.538 0 171.87);
  --chart-3: oklch(0.285 0 168.69);
  --chart-4: oklch(0.565 0 180);
  --chart-5: oklch(0.328 0.036 25.271);
}