Ridiculous Black Rose for shadcn/ui

Ridiculous Black Rose is a shadcn/ui theme built around a deep pink primary color (#522838) with deep blue accents (#283852). The light mode uses a neutral background (#fefbfc). Dark mode keeps the deep pink primary (#522838) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#fefbfcsnow
#040102black
Foreground
#0d0206black
#fdfcfcsnow
Card
#fefbfcsnow
#040102black
Card foreground
#0d0206black
#fdfcfcsnow
Popover
#fefbfcsnow
#040102black
Popover foreground
#0d0206black
#fdfcfcsnow
Primary
#522838darkslategray
#522838darkslategray
Primary foreground
#e4c8d3thistle
#e4c8d3thistle
Secondary
#385228darkolivegreen
#385228darkolivegreen
Secondary foreground
#d3e4c8lightgrey
#d3e4c8lightgrey
Muted
#dbe9d3gainsboro
#1e2c16black
Muted foreground
#474a45darkslategray
#b7bab5silver
Accent
#283852darkslategray
#283852darkslategray
Accent foreground
#c8d3e4lightgrey
#c8d3e4lightgrey
Destructive
#6f1602maroon
#f63004orangered
Destructive foreground
#feb5a5lightpink
#ffffffwhite
Border
#ece9ealinen
#211c1eblack
Input
#ece9ealinen
#211c1eblack
Ring
#522838darkslategray
#522838darkslategray

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.88:1AAA
Primary button7.83:1AAA
Secondary button6.52:1AA
Muted text7.10:1AAA
Accent7.83:1AAA
Destructive6.93:1AA
Dark mode
Text on background20.27:1AAA
Text on card20.27:1AAA
Primary button7.83:1AAA
Secondary button6.52:1AA
Muted text7.48:1AAA
Accent7.83:1AAA
Destructive3.92:1AA Large

CSS variables

Paste this into your globals.css to use Ridiculous Black Rose in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 352.649);
  --foreground: oklch(0.118 0.029 352.575);
  --muted: oklch(0.917 0.033 133.833);
  --muted-foreground: oklch(0.403 0.008 133.729);
  --popover: oklch(0.991 0.003 352.649);
  --popover-foreground: oklch(0.118 0.029 352.575);
  --card: oklch(0.991 0.003 352.649);
  --card-foreground: oklch(0.118 0.029 352.575);
  --border: oklch(0.937 0.004 352.693);
  --input: oklch(0.937 0.004 352.693);
  --primary: oklch(0.339 0.065 357.803);
  --primary-foreground: oklch(0.86 0.034 353.677);
  --secondary: oklch(0.406 0.073 135.027);
  --secondary-foreground: oklch(0.898 0.042 133.903);
  --accent: oklch(0.339 0.051 260.971);
  --accent-foreground: oklch(0.863 0.027 261.476);
  --destructive: oklch(0.354 0.126 33.779);
  --destructive-foreground: oklch(0.837 0.088 33.07);
  --ring: oklch(0.339 0.065 357.803);
  --chart-1: oklch(0.339 0.065 357.803);
  --chart-2: oklch(0.406 0.073 135.027);
  --chart-3: oklch(0.339 0.051 260.971);
  --chart-4: oklch(0.44 0.08 135.06);
  --chart-5: oklch(0.339 0.07 358.303);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.013 352.249);
  --foreground: oklch(0.992 0.001 352.592);
  --muted: oklch(0.274 0.043 134.777);
  --muted-foreground: oklch(0.785 0.007 133.659);
  --popover: oklch(0.085 0.013 352.249);
  --popover-foreground: oklch(0.992 0.001 352.592);
  --card: oklch(0.085 0.013 352.249);
  --card-foreground: oklch(0.992 0.001 352.592);
  --border: oklch(0.233 0.008 353.569);
  --input: oklch(0.233 0.008 353.569);
  --primary: oklch(0.339 0.065 357.803);
  --primary-foreground: oklch(0.86 0.034 353.677);
  --secondary: oklch(0.406 0.073 135.027);
  --secondary-foreground: oklch(0.898 0.042 133.903);
  --accent: oklch(0.339 0.051 260.971);
  --accent-foreground: oklch(0.863 0.027 261.476);
  --destructive: oklch(0.629 0.235 32.305);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.339 0.065 357.803);
  --chart-1: oklch(0.339 0.065 357.803);
  --chart-2: oklch(0.406 0.073 135.027);
  --chart-3: oklch(0.339 0.051 260.971);
  --chart-4: oklch(0.44 0.08 135.06);
  --chart-5: oklch(0.339 0.07 358.303);
}