Grubby Pelican Pink for shadcn/ui

Grubby Pelican Pink is a shadcn/ui theme built around a red primary color (#e1a799) with near-white accents (#e9e7e7). The light mode uses a neutral background (#fbf9f8). Dark mode keeps the red primary (#e1a799) on a red-tinted background (#100704).

Color palette

TokenLightDark
Background
#fbf9f8snow
#100704black
Foreground
#000000black
#ffffffwhite
Card
#faf6f5whitesmoke
#140806black
Card foreground
#000000black
#ffffffwhite
Popover
#fbf9f8snow
#100704black
Popover foreground
#000000black
#ffffffwhite
Primary
#e1a799tan
#e1a799tan
Primary foreground
#371810black
#371810black
Secondary
#e9e7e7linen
#2c2320darkslategray
Secondary foreground
#524d4cdarkslategray
#c9b9b5silver
Muted
#eee9e7linen
#181211black
Muted foreground
#423e3ddarkslategray
#c2bebdsilver
Accent
#e9e7e7linen
#2c2320darkslategray
Accent foreground
#524d4cdarkslategray
#c9b9b5silver
Destructive
#832f0bsaddlebrown
#ed6d35tomato
Destructive foreground
#fad6c7bisque
#000000black
Border
#ebe7e6linen
#1c1817black
Input
#ebe7e6linen
#1c1817black
Ring
#e1a799tan
#e1a799tan

Contrast

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

Light mode
Text on background20.02:1AAA
Text on card19.54:1AAA
Primary button7.83:1AAA
Secondary button6.77:1AA
Muted text8.74:1AAA
Accent6.77:1AA
Destructive6.49:1AA
Dark mode
Text on background19.93:1AAA
Text on card19.64:1AAA
Primary button7.83:1AAA
Secondary button8.12:1AAA
Muted text10.03:1AAA
Accent8.12:1AAA
Destructive6.83:1AA

CSS variables

Paste this into your globals.css to use Grubby Pelican Pink in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.003 34.312);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.937 0.006 34.306);
  --muted-foreground: oklch(0.368 0.006 34.298);
  --popover: oklch(0.984 0.003 34.312);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.976 0.004 34.31);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.929 0.005 34.309);
  --input: oklch(0.929 0.005 34.309);
  --primary: oklch(0.779 0.071 34.483);
  --primary-foreground: oklch(0.253 0.051 35.092);
  --secondary: oklch(0.931 0.002 34.314);
  --secondary-foreground: oklch(0.425 0.007 34.298);
  --accent: oklch(0.931 0.002 34.314);
  --accent-foreground: oklch(0.425 0.007 34.298);
  --destructive: oklch(0.424 0.124 40.182);
  --destructive-foreground: oklch(0.903 0.046 44.543);
  --ring: oklch(0.779 0.071 34.483);
  --chart-1: oklch(0.779 0.071 34.483);
  --chart-2: oklch(0.931 0.002 34.314);
  --chart-3: oklch(0.931 0.002 34.314);
  --chart-4: oklch(0.954 0.001 34.315);
  --chart-5: oklch(0.778 0.075 34.508);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.019 39.461);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.19 0.01 34.336);
  --muted-foreground: oklch(0.804 0.005 34.307);
  --popover: oklch(0.14 0.019 39.461);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.153 0.022 37.832);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.213 0.008 34.307);
  --input: oklch(0.213 0.008 34.307);
  --primary: oklch(0.779 0.071 34.483);
  --primary-foreground: oklch(0.253 0.051 35.092);
  --secondary: oklch(0.265 0.016 34.36);
  --secondary-foreground: oklch(0.799 0.02 34.298);
  --accent: oklch(0.265 0.016 34.36);
  --accent-foreground: oklch(0.799 0.02 34.298);
  --destructive: oklch(0.681 0.173 41.875);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.779 0.071 34.483);
  --chart-1: oklch(0.779 0.071 34.483);
  --chart-2: oklch(0.265 0.016 34.36);
  --chart-3: oklch(0.265 0.016 34.36);
  --chart-4: oklch(0.295 0.018 34.369);
  --chart-5: oklch(0.778 0.075 34.508);
}