Lacquered Liquorice Rhinoceros for shadcn/ui

Lacquered Liquorice Rhinoceros is a shadcn/ui theme built around a neutral gray primary color (#383838) with muted light red accents (#d0b3b3). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#383838) on a red-tinted background (#100404).

Color palette

TokenLightDark
Background
#ffffffwhite
#100404black
Foreground
#150505black
#ffffffwhite
Card
#fcfcfcsnow
#140505black
Card foreground
#110404black
#ffffffwhite
Popover
#fcfcfcsnow
#140505black
Popover foreground
#110404black
#ffffffwhite
Primary
#383838darkslategray
#383838darkslategray
Primary foreground
#d1d1d1lightgrey
#d1d1d1lightgrey
Secondary
#e0d2d2lightgrey
#2e2929darkslategray
Secondary foreground
#4b3434darkslategray
#c7c1c1silver
Muted
#efe1e1mistyrose
#1e1010black
Muted foreground
#574747darkslategray
#b8a8a8darkgray
Accent
#d0b3b3silver
#423333darkslategray
Accent foreground
#331f1fblack
#d9cecelightgrey
Destructive
#d93802orangered
#fd4508orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#f3f2f2whitesmoke
#231f1fblack
Input
#f3f2f2whitesmoke
#231f1fblack
Ring
#383838darkslategray
#383838darkslategray

Contrast

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

Light mode
Text on background19.89:1AAA
Text on card19.70:1AAA
Primary button7.66:1AAA
Secondary button7.76:1AAA
Muted text6.90:1AA
Accent7.96:1AAA
Destructive4.64:1AA
Dark mode
Text on background20.13:1AAA
Text on card19.88:1AAA
Primary button7.66:1AAA
Secondary button8.06:1AAA
Muted text8.09:1AAA
Accent7.78:1AAA
Destructive3.49:1AA Large

CSS variables

Paste this into your globals.css to use Lacquered Liquorice Rhinoceros in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.143 0.032 21.878);
  --muted: oklch(0.922 0.015 17.421);
  --muted-foreground: oklch(0.415 0.022 18.058);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.131 0.028 21.593);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.131 0.028 21.593);
  --border: oklch(0.961 0.001 17.182);
  --input: oklch(0.961 0.001 17.182);
  --primary: oklch(0.341 0 158.199);
  --primary-foreground: oklch(0.861 0 180);
  --secondary: oklch(0.874 0.015 17.45);
  --secondary-foreground: oklch(0.353 0.033 18.867);
  --accent: oklch(0.793 0.034 17.892);
  --accent-foreground: oklch(0.264 0.031 19.314);
  --destructive: oklch(0.584 0.204 34.939);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.341 0 158.199);
  --chart-1: oklch(0.341 0 158.199);
  --chart-2: oklch(0.874 0.015 17.45);
  --chart-3: oklch(0.793 0.034 17.892);
  --chart-4: oklch(0.9 0.012 17.382);
  --chart-5: oklch(0.338 0.005 17.391);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.132 0.024 20.908);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.193 0.023 19.335);
  --muted-foreground: oklch(0.745 0.018 17.572);
  --popover: oklch(0.144 0.028 21.172);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.144 0.028 21.172);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.245 0.005 17.504);
  --input: oklch(0.245 0.005 17.504);
  --primary: oklch(0.341 0 158.199);
  --primary-foreground: oklch(0.861 0 180);
  --secondary: oklch(0.286 0.006 17.532);
  --secondary-foreground: oklch(0.817 0.007 17.291);
  --accent: oklch(0.338 0.022 18.302);
  --accent-foreground: oklch(0.861 0.013 17.4);
  --destructive: oklch(0.656 0.227 35.093);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.341 0 158.199);
  --chart-1: oklch(0.341 0 158.199);
  --chart-2: oklch(0.286 0.006 17.532);
  --chart-3: oklch(0.338 0.022 18.302);
  --chart-4: oklch(0.316 0.007 17.547);
  --chart-5: oklch(0.338 0.005 17.391);
}