Direct OU Crimson Red for shadcn/ui

Direct OU Crimson Red is a shadcn/ui theme built around a vivid red primary color (#990000) with muted light red accents (#dcc7c7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#990000) on a red-tinted background (#0f0606).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f0606black
Foreground
#000000black
#f9f6f6whitesmoke
Card
#ffffffwhite
#0f0606black
Card foreground
#000000black
#f9f6f6whitesmoke
Popover
#ffffffwhite
#0f0606black
Popover foreground
#000000black
#f9f6f6whitesmoke
Primary
#990000darkred
#990000darkred
Primary foreground
#ffccccpink
#ffccccpink
Secondary
#e5dcdcgainsboro
#3c2a2adarkslategray
Secondary foreground
#533c3cdarkslategray
#d5c3c3silver
Muted
#f5efefwhitesmoke
#100a0ablack
Muted foreground
#5f5454dimgray
#aba0a0darkgray
Accent
#dcc7c7thistle
#5c3737darkolivegreen
Accent foreground
#452b2bdarkslategray
#eadcdcgainsboro
Destructive
#be2413firebrick
#d52815firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eceaealinen
#282424darkslategray
Input
#eceaealinen
#282424darkslategray
Ring
#990000darkred
#990000darkred

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.26:1AA
Secondary button7.48:1AAA
Muted text6.42:1AA
Accent7.94:1AAA
Destructive6.07:1AA
Dark mode
Text on background18.66:1AAA
Text on card18.66:1AAA
Primary button6.26:1AA
Secondary button7.96:1AAA
Muted text7.73:1AAA
Accent7.61:1AAA
Destructive5.04:1AA

CSS variables

Paste this into your globals.css to use Direct OU Crimson Red in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.958 0.006 17.262);
  --muted-foreground: oklch(0.456 0.014 17.681);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.937 0.002 17.197);
  --input: oklch(0.937 0.002 17.197);
  --primary: oklch(0.429 0.176 29.234);
  --primary-foreground: oklch(0.89 0.058 18.3);
  --secondary: oklch(0.901 0.011 17.356);
  --secondary-foreground: oklch(0.381 0.032 18.677);
  --accent: oklch(0.846 0.024 17.632);
  --accent-foreground: oklch(0.322 0.039 19.395);
  --destructive: oklch(0.52 0.192 30.518);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.429 0.176 29.234);
  --chart-1: oklch(0.429 0.176 29.234);
  --chart-2: oklch(0.901 0.011 17.356);
  --chart-3: oklch(0.846 0.024 17.632);
  --chart-4: oklch(0.926 0.008 17.301);
  --chart-5: oklch(0.433 0.179 29.411);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.019 19.769);
  --foreground: oklch(0.975 0.003 17.216);
  --muted: oklch(0.152 0.01 18.3);
  --muted-foreground: oklch(0.716 0.013 17.449);
  --popover: oklch(0.135 0.019 19.769);
  --popover-foreground: oklch(0.975 0.003 17.216);
  --card: oklch(0.135 0.019 19.769);
  --card-foreground: oklch(0.975 0.003 17.216);
  --border: oklch(0.266 0.006 17.519);
  --input: oklch(0.266 0.006 17.519);
  --primary: oklch(0.429 0.176 29.234);
  --primary-foreground: oklch(0.89 0.058 18.3);
  --secondary: oklch(0.307 0.026 18.672);
  --secondary-foreground: oklch(0.833 0.02 17.552);
  --accent: oklch(0.383 0.053 19.8);
  --accent-foreground: oklch(0.906 0.015 17.442);
  --destructive: oklch(0.566 0.21 30.52);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.429 0.176 29.234);
  --chart-1: oklch(0.429 0.176 29.234);
  --chart-2: oklch(0.307 0.026 18.672);
  --chart-3: oklch(0.383 0.053 19.8);
  --chart-4: oklch(0.335 0.029 18.724);
  --chart-5: oklch(0.433 0.179 29.411);
}