August - Radical for shadcn/ui

August - Radical is a shadcn/ui theme built around a vivid pink primary color (#f52477) with muted deep indigo accents (#2e2b4f). The light mode uses an indigo-tinted background (#11101e). Dark mode keeps the vivid pink primary (#f52477) on an indigo-tinted background (#11101e).

Color palette

TokenLightDark
Background
#11101eblack
#11101eblack
Foreground
#7b9b9dlightslategray
#7b9b9dlightslategray
Card
#0d0d17black
#0d0d17black
Card foreground
#8aa6a8darkgray
#8aa6a8darkgray
Popover
#0b0b14black
#0b0b14black
Popover foreground
#98b1b3darkgray
#98b1b3darkgray
Primary
#f52477deeppink
#f52477deeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d2acbbsilver
#d2acbbsilver
Secondary foreground
#321b24black
#321b24black
Muted
#22222bdarkslategray
#22222bdarkslategray
Muted foreground
#9c9bb0darkgray
#9c9bb0darkgray
Accent
#2e2b4fdarkslategray
#2e2b4fdarkslategray
Accent foreground
#cccae2lightgrey
#cccae2lightgrey
Destructive
#e6230aorangered
#e6230aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#1e1d2ablack
#1e1d2ablack
Input
#242334darkslategray
#242334darkslategray
Ring
#f52477deeppink
#f52477deeppink

Contrast

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

Light mode
Text on background6.27:1AA
Text on card7.45:1AAA
Primary button3.89:1AA Large
Secondary button7.87:1AAA
Muted text5.81:1AA
Accent8.29:1AAA
Destructive4.54:1AA
Dark mode
Text on background6.27:1AA
Text on card7.45:1AAA
Primary button3.89:1AA Large
Secondary button7.87:1AAA
Muted text5.81:1AA
Accent8.29:1AAA
Destructive4.54:1AA

CSS variables

Paste this into your globals.css to use August - Radical in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.183 0.027 286.447);
  --foreground: oklch(0.667 0.036 201.731);
  --muted: oklch(0.255 0.017 288.173);
  --muted-foreground: oklch(0.698 0.031 288.626);
  --popover: oklch(0.154 0.019 287.028);
  --popover-foreground: oklch(0.743 0.028 201.855);
  --card: oklch(0.164 0.022 286.808);
  --card-foreground: oklch(0.705 0.032 201.794);
  --border: oklch(0.238 0.026 287.313);
  --input: oklch(0.266 0.031 287.177);
  --primary: oklch(0.634 0.239 4.846);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.783 0.049 352.316);
  --secondary-foreground: oklch(0.256 0.039 354.68);
  --accent: oklch(0.312 0.063 285.191);
  --accent-foreground: oklch(0.849 0.033 288.744);
  --destructive: oklch(0.592 0.228 30.757);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.634 0.239 4.846);
  --chart-1: oklch(0.634 0.239 4.846);
  --chart-2: oklch(0.783 0.049 352.316);
  --chart-3: oklch(0.312 0.063 285.191);
  --chart-4: oklch(0.81 0.043 352.057);
  --chart-5: oklch(0.639 0.243 5.411);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.183 0.027 286.447);
  --foreground: oklch(0.667 0.036 201.731);
  --muted: oklch(0.255 0.017 288.173);
  --muted-foreground: oklch(0.698 0.031 288.626);
  --popover: oklch(0.154 0.019 287.028);
  --popover-foreground: oklch(0.743 0.028 201.855);
  --card: oklch(0.164 0.022 286.808);
  --card-foreground: oklch(0.705 0.032 201.794);
  --border: oklch(0.238 0.026 287.313);
  --input: oklch(0.266 0.031 287.177);
  --primary: oklch(0.634 0.239 4.846);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.783 0.049 352.316);
  --secondary-foreground: oklch(0.256 0.039 354.68);
  --accent: oklch(0.312 0.063 285.191);
  --accent-foreground: oklch(0.849 0.033 288.744);
  --destructive: oklch(0.592 0.228 30.757);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.634 0.239 4.846);
  --chart-1: oklch(0.634 0.239 4.846);
  --chart-2: oklch(0.783 0.049 352.316);
  --chart-3: oklch(0.312 0.063 285.191);
  --chart-4: oklch(0.81 0.043 352.057);
  --chart-5: oklch(0.639 0.243 5.411);
}