Conspirator for shadcn/ui

Conspirator is a shadcn/ui theme built around a red primary color (#d5627b) with teal accents (#62d5bc). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the red primary (#d5627b) on a red-tinted background (#0c0405).

Color palette

TokenLightDark
Background
#fcf8f9snow
#0c0405black
Foreground
#110407black
#ffffffwhite
Card
#fcf8f9snow
#0c0405black
Card foreground
#110407black
#ffffffwhite
Popover
#fcf8f9snow
#0c0405black
Popover foreground
#110407black
#ffffffwhite
Primary
#d5627bpalevioletred
#d5627bpalevioletred
Primary foreground
#000000black
#000000black
Secondary
#62d5bcmediumaquamarine
#62d5bcmediumaquamarine
Secondary foreground
#010403black
#010403black
Muted
#d7dbdagainsboro
#242827darkslategray
Muted foreground
#4f6963dimgray
#96b0aadarkgray
Accent
#62d5bcmediumaquamarine
#62d5bcmediumaquamarine
Accent foreground
#010403black
#010403black
Destructive
#af0e08firebrick
#f52b24crimson
Destructive foreground
#feececlinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d5627bpalevioletred
#d5627bpalevioletred

Contrast

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

Light mode
Text on background19.06:1AAA
Text on card19.06:1AAA
Primary button5.86:1AA
Secondary button11.55:1AAA
Muted text4.24:1AA Large
Accent11.55:1AAA
Destructive6.36:1AA
Dark mode
Text on background20.31:1AAA
Text on card20.31:1AAA
Primary button5.86:1AA
Secondary button11.55:1AAA
Muted text6.43:1AA
Accent11.55:1AAA
Destructive4.00:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 2.193);
  --foreground: oklch(0.132 0.028 3.747);
  --muted: oklch(0.887 0.004 181.932);
  --muted-foreground: oklch(0.497 0.032 180.163);
  --popover: oklch(0.982 0.004 2.193);
  --popover-foreground: oklch(0.132 0.028 3.747);
  --card: oklch(0.982 0.004 2.193);
  --card-foreground: oklch(0.132 0.028 3.747);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.643 0.147 8.594);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.8 0.112 176.967);
  --secondary-foreground: oklch(0.099 0.012 181.986);
  --accent: oklch(0.8 0.112 176.967);
  --accent-foreground: oklch(0.099 0.012 181.986);
  --destructive: oklch(0.479 0.19 29.199);
  --destructive-foreground: oklch(0.958 0.02 19.898);
  --ring: oklch(0.643 0.147 8.594);
  --chart-1: oklch(0.643 0.147 8.594);
  --chart-2: oklch(0.8 0.112 176.967);
  --chart-3: oklch(0.8 0.112 176.967);
  --chart-4: oklch(0.814 0.105 177.533);
  --chart-5: oklch(0.643 0.154 9);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.019 2.319);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.273 0.006 181.479);
  --muted-foreground: oklch(0.736 0.029 180.914);
  --popover: oklch(0.121 0.019 2.319);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.121 0.019 2.319);
  --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.643 0.147 8.594);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.8 0.112 176.967);
  --secondary-foreground: oklch(0.099 0.012 181.986);
  --accent: oklch(0.8 0.112 176.967);
  --accent-foreground: oklch(0.099 0.012 181.986);
  --destructive: oklch(0.624 0.234 28.55);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.643 0.147 8.594);
  --chart-1: oklch(0.643 0.147 8.594);
  --chart-2: oklch(0.8 0.112 176.967);
  --chart-3: oklch(0.8 0.112 176.967);
  --chart-4: oklch(0.814 0.105 177.533);
  --chart-5: oklch(0.643 0.154 9);
}