Pigeon for shadcn/ui

Pigeon is a shadcn/ui theme built around a vivid red primary color (#fa6666) with vivid indigo accents (#6666fa). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid red primary (#fa6666) on a neutral background (#040202).

Color palette

TokenLightDark
Background
#fefbfbsnow
#040202black
Foreground
#140606black
#fdfcfcsnow
Card
#fcf8f8snow
#070303black
Card foreground
#100505black
#ffffffwhite
Popover
#fcf8f8snow
#070303black
Popover foreground
#100505black
#ffffffwhite
Primary
#fa6666salmon
#fa6666salmon
Primary foreground
#2d0101black
#2d0101black
Secondary
#66fa66lightgreen
#66fa66lightgreen
Secondary foreground
#012d01black
#012d01black
Muted
#dbe1dbgainsboro
#1e241eblack
Muted foreground
#526652dimgray
#99ad99darkseagreen
Accent
#6666famediumslateblue
#6666famediumslateblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d53301orangered
#e43601orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fa6666salmon
#fa6666salmon

Contrast

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

Light mode
Text on background19.30:1AAA
Text on card18.99:1AAA
Primary button6.40:1AA
Secondary button11.22:1AAA
Muted text4.67:1AA
Accent4.34:1AA Large
Destructive4.88:1AA
Dark mode
Text on background20.26:1AAA
Text on card20.51:1AAA
Primary button6.40:1AA
Secondary button11.22:1AAA
Muted text6.60:1AA
Accent4.34:1AA Large
Destructive4.33:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 17.2);
  --foreground: oklch(0.145 0.026 20.745);
  --muted: oklch(0.903 0.011 145.48);
  --muted-foreground: oklch(0.487 0.04 144.928);
  --popover: oklch(0.981 0.005 17.242);
  --popover-foreground: oklch(0.133 0.022 20.498);
  --card: oklch(0.981 0.005 17.242);
  --card-foreground: oklch(0.133 0.022 20.498);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.697 0.183 23.065);
  --primary-foreground: oklch(0.188 0.073 28.019);
  --secondary: oklch(0.875 0.229 143.305);
  --secondary-foreground: oklch(0.257 0.085 142.606);
  --accent: oklch(0.594 0.216 277.57);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.572 0.204 34.182);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.697 0.183 23.065);
  --chart-1: oklch(0.697 0.183 23.065);
  --chart-2: oklch(0.875 0.229 143.305);
  --chart-3: oklch(0.594 0.216 277.57);
  --chart-4: oklch(0.883 0.212 143.521);
  --chart-5: oklch(0.697 0.188 23.308);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.01 19.328);
  --foreground: oklch(0.992 0.001 17.175);
  --muted: oklch(0.253 0.016 145.097);
  --muted-foreground: oklch(0.727 0.037 145.188);
  --popover: oklch(0.107 0.013 19.328);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.107 0.013 19.328);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.697 0.183 23.065);
  --primary-foreground: oklch(0.188 0.073 28.019);
  --secondary: oklch(0.875 0.229 143.305);
  --secondary-foreground: oklch(0.257 0.085 142.606);
  --accent: oklch(0.594 0.216 277.57);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.602 0.216 34.061);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.697 0.183 23.065);
  --chart-1: oklch(0.697 0.183 23.065);
  --chart-2: oklch(0.875 0.229 143.305);
  --chart-3: oklch(0.594 0.216 277.57);
  --chart-4: oklch(0.883 0.212 143.521);
  --chart-5: oklch(0.697 0.188 23.308);
}