Frightened Incubus for shadcn/ui

Frightened Incubus is a shadcn/ui theme built around a deep red primary color (#7d171f) with vivid deep red accents (#5c0000). The light mode uses a red-tinted background (#0f0000). Dark mode keeps the deep red primary (#7d171f) on a red-tinted background (#0f0000).

Color palette

TokenLightDark
Background
#0f0000black
#0f0000black
Foreground
#f8f8f2whitesmoke
#f8f8f2whitesmoke
Card
#050000black
#050000black
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#000000black
#000000black
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#7d171fmaroon
#7d171fmaroon
Primary foreground
#f6d0d3pink
#f6d0d3pink
Secondary
#d2acafsilver
#d2acafsilver
Secondary foreground
#321b1dblack
#321b1dblack
Muted
#2b2222darkslategray
#2b2222darkslategray
Muted foreground
#b09b9brosybrown
#b09b9brosybrown
Accent
#5c0000maroon
#5c0000maroon
Accent foreground
#ff8f8flightcoral
#ff8f8flightcoral
Destructive
#d13415firebrick
#d13415firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#270202black
#270202black
Input
#350303black
#350303black
Ring
#7d171fmaroon
#7d171fmaroon

Contrast

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

Light mode
Text on background19.29:1AAA
Text on card20.86:1AAA
Primary button7.38:1AAA
Secondary button7.84:1AAA
Muted text5.93:1AA
Accent6.59:1AA
Destructive4.98:1AA
Dark mode
Text on background19.29:1AAA
Text on card20.86:1AAA
Primary button7.38:1AAA
Secondary button7.84:1AAA
Muted text5.93:1AA
Accent6.59:1AA
Destructive4.98:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.107 0.044 29.234);
  --foreground: oklch(0.977 0.008 106.548);
  --muted: oklch(0.261 0.014 18.092);
  --muted-foreground: oklch(0.708 0.025 17.766);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.073 0.03 29.234);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.176 0.065 27.102);
  --input: oklch(0.212 0.08 27.535);
  --primary: oklch(0.387 0.136 22.496);
  --primary-foreground: oklch(0.89 0.044 12.331);
  --secondary: oklch(0.78 0.045 12.519);
  --secondary-foreground: oklch(0.253 0.037 14.609);
  --accent: oklch(0.298 0.122 29.234);
  --accent-foreground: oklch(0.77 0.136 20.688);
  --destructive: oklch(0.566 0.198 32.784);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.387 0.136 22.496);
  --chart-1: oklch(0.387 0.136 22.496);
  --chart-2: oklch(0.78 0.045 12.519);
  --chart-3: oklch(0.298 0.122 29.234);
  --chart-4: oklch(0.807 0.039 12.312);
  --chart-5: oklch(0.389 0.14 23.054);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.107 0.044 29.234);
  --foreground: oklch(0.977 0.008 106.548);
  --muted: oklch(0.261 0.014 18.092);
  --muted-foreground: oklch(0.708 0.025 17.766);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.073 0.03 29.234);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.176 0.065 27.102);
  --input: oklch(0.212 0.08 27.535);
  --primary: oklch(0.387 0.136 22.496);
  --primary-foreground: oklch(0.89 0.044 12.331);
  --secondary: oklch(0.78 0.045 12.519);
  --secondary-foreground: oklch(0.253 0.037 14.609);
  --accent: oklch(0.298 0.122 29.234);
  --accent-foreground: oklch(0.77 0.136 20.688);
  --destructive: oklch(0.566 0.198 32.784);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.387 0.136 22.496);
  --chart-1: oklch(0.387 0.136 22.496);
  --chart-2: oklch(0.78 0.045 12.519);
  --chart-3: oklch(0.298 0.122 29.234);
  --chart-4: oklch(0.807 0.039 12.312);
  --chart-5: oklch(0.389 0.14 23.054);
}