Pure Red Crayon for shadcn/ui

Pure Red Crayon is a shadcn/ui theme built around a vivid red primary color (#f0244c) with vivid orange accents (#f06124). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#f0244c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#080203black
#faf5f6whitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#080203black
#faf5f6whitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#080203black
#faf5f6whitesmoke
Primary
#f0244ccrimson
#f0244ccrimson
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#f024b3deeppink
#f024b3deeppink
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e9e2e7gainsboro
#1d161bblack
Muted foreground
#61515cdimgray
#ae9ea9darkgray
Accent
#f06124chocolate
#f06124chocolate
Accent foreground
#000000black
#000000black
Destructive
#b54103firebrick
#fc7127tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#ece9ealinen
#262122black
Input
#ece9ealinen
#262122black
Ring
#f0244ccrimson
#f0244ccrimson

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button4.15:1AA Large
Secondary button3.75:1AA Large
Muted text5.81:1AA
Accent6.42:1AA
Destructive5.64:1AA
Dark mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button4.15:1AA Large
Secondary button3.75:1AA Large
Muted text6.98:1AA
Accent6.42:1AA
Destructive7.53:1AAA

CSS variables

Paste this into your globals.css to use Pure Red Crayon in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.103 0.022 3.518);
  --muted: oklch(0.92 0.009 336.061);
  --muted-foreground: oklch(0.456 0.027 336.962);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.103 0.022 3.518);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.103 0.022 3.518);
  --border: oklch(0.937 0.003 3.276);
  --input: oklch(0.937 0.003 3.276);
  --primary: oklch(0.616 0.231 18.179);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.647 0.259 344.52);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.667 0.189 40.627);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.531 0.162 41.159);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.616 0.231 18.179);
  --chart-1: oklch(0.616 0.231 18.179);
  --chart-2: oklch(0.647 0.259 344.52);
  --chart-3: oklch(0.667 0.189 40.627);
  --chart-4: oklch(0.658 0.252 343.618);
  --chart-5: oklch(0.621 0.236 18.79);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.974 0.005 3.329);
  --muted: oklch(0.211 0.014 337.046);
  --muted-foreground: oklch(0.716 0.024 336.499);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.974 0.005 3.329);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.974 0.005 3.329);
  --border: oklch(0.255 0.008 4.001);
  --input: oklch(0.255 0.008 4.001);
  --primary: oklch(0.616 0.231 18.179);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.647 0.259 344.52);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.667 0.189 40.627);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.707 0.187 44.489);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.616 0.231 18.179);
  --chart-1: oklch(0.616 0.231 18.179);
  --chart-2: oklch(0.647 0.259 344.52);
  --chart-3: oklch(0.667 0.189 40.627);
  --chart-4: oklch(0.658 0.252 343.618);
  --chart-5: oklch(0.621 0.236 18.79);
}