Dramatic Philippine Brown for shadcn/ui

Dramatic Philippine Brown is a shadcn/ui theme built around a deep red primary color (#5b1715) with muted light red accents (#decfce). The light mode uses a neutral background (#fefbfb). Dark mode keeps the deep red primary (#5b1715) on a neutral background (#070303).

Color palette

TokenLightDark
Background
#fefbfbsnow
#070303black
Foreground
#110403black
#fdfcfcsnow
Card
#fcf8f8snow
#0b0505black
Card foreground
#0d0302black
#ffffffwhite
Popover
#fcf8f8snow
#0b0505black
Popover foreground
#0d0302black
#ffffffwhite
Primary
#5b1715maroon
#5b1715maroon
Primary foreground
#eeb6b4lightpink
#eeb6b4lightpink
Secondary
#decfcelightgrey
#281b1bblack
Secondary foreground
#493232darkslategray
#c8adacsilver
Muted
#eed9d8gainsboro
#271211black
Muted foreground
#605352dimgray
#ad9f9fdarkgray
Accent
#decfcelightgrey
#281b1bblack
Accent foreground
#493232darkslategray
#c8adacsilver
Destructive
#dd4c08orangered
#f75e18orangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e6e0e0gainsboro
#28201fblack
Input
#e6e0e0gainsboro
#28201fblack
Ring
#5b1715maroon
#5b1715maroon

Contrast

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

Light mode
Text on background19.61:1AAA
Text on card19.30:1AAA
Primary button7.56:1AAA
Secondary button7.79:1AAA
Muted text5.43:1AA
Accent7.79:1AAA
Destructive4.10:1AA Large
Dark mode
Text on background20.01:1AAA
Text on card20.25:1AAA
Primary button7.56:1AAA
Secondary button7.95:1AAA
Muted text6.98:1AA
Accent7.95:1AAA
Destructive6.56:1AA

CSS variables

Paste this into your globals.css to use Dramatic Philippine Brown in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 19.638);
  --foreground: oklch(0.131 0.03 25.366);
  --muted: oklch(0.902 0.023 19.982);
  --muted-foreground: oklch(0.454 0.018 20.202);
  --popover: oklch(0.982 0.005 19.672);
  --popover-foreground: oklch(0.117 0.026 25.356);
  --card: oklch(0.982 0.005 19.672);
  --card-foreground: oklch(0.117 0.026 25.356);
  --border: oklch(0.911 0.007 19.715);
  --input: oklch(0.911 0.007 19.715);
  --primary: oklch(0.32 0.1 26.488);
  --primary-foreground: oklch(0.827 0.065 20.842);
  --secondary: oklch(0.866 0.017 19.881);
  --secondary-foreground: oklch(0.344 0.033 21.139);
  --accent: oklch(0.866 0.017 19.881);
  --accent-foreground: oklch(0.344 0.033 21.139);
  --destructive: oklch(0.611 0.192 39.057);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.32 0.1 26.488);
  --chart-1: oklch(0.32 0.1 26.488);
  --chart-2: oklch(0.866 0.017 19.881);
  --chart-3: oklch(0.866 0.017 19.881);
  --chart-4: oklch(0.892 0.013 19.819);
  --chart-5: oklch(0.321 0.104 26.84);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.108 0.012 22.05);
  --foreground: oklch(0.992 0.001 19.618);
  --muted: oklch(0.212 0.035 22.582);
  --muted-foreground: oklch(0.714 0.016 19.931);
  --popover: oklch(0.124 0.013 22.049);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.013 22.049);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.252 0.013 20.371);
  --input: oklch(0.252 0.013 20.371);
  --primary: oklch(0.32 0.1 26.488);
  --primary-foreground: oklch(0.827 0.065 20.842);
  --secondary: oklch(0.238 0.02 20.97);
  --secondary-foreground: oklch(0.771 0.031 20.199);
  --accent: oklch(0.238 0.02 20.97);
  --accent-foreground: oklch(0.771 0.031 20.199);
  --destructive: oklch(0.674 0.2 40.56);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.32 0.1 26.488);
  --chart-1: oklch(0.32 0.1 26.488);
  --chart-2: oklch(0.238 0.02 20.97);
  --chart-3: oklch(0.238 0.02 20.97);
  --chart-4: oklch(0.268 0.025 21.069);
  --chart-5: oklch(0.321 0.104 26.84);
}