Hell Rider Elkfa for shadcn/ui

Hell Rider Elkfa is a shadcn/ui theme built around a vivid red primary color (#c50202) with vivid indigo accents (#0202c5). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the vivid red primary (#c50202) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#fcf8f8snow
#030202black
Foreground
#0d0202black
#faf5f5whitesmoke
Card
#fcf8f8snow
#030202black
Card foreground
#0d0202black
#faf5f5whitesmoke
Popover
#fcf8f8snow
#030202black
Popover foreground
#0d0202black
#faf5f5whitesmoke
Primary
#c50202firebrick
#c50202firebrick
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#02c502lime
#02c502lime
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e4ece4gainsboro
#131b13black
Muted foreground
#484c48darkslategray
#b3b7b3darkgray
Accent
#0202c5mediumblue
#0202c5mediumblue
Accent foreground
#fafaffghostwhite
#fafaffghostwhite
Destructive
#cc550fchocolate
#ed6212chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#eae6e6linen
#2a2323darkslategray
Input
#eae6e6linen
#2a2323darkslategray
Ring
#c50202firebrick
#c50202firebrick

Contrast

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

Light mode
Text on background19.40:1AAA
Text on card19.40:1AAA
Primary button6.21:1AA
Secondary button2.33:1Fail
Muted text7.26:1AAA
Accent11.11:1AAA
Destructive4.32:1AA Large
Dark mode
Text on background19.19:1AAA
Text on card19.19:1AAA
Primary button6.21:1AA
Secondary button2.33:1Fail
Muted text8.64:1AAA
Accent11.11:1AAA
Destructive6.37:1AA

CSS variables

Paste this into your globals.css to use Hell Rider Elkfa in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.004 17.222);
  --foreground: oklch(0.114 0.03 23.022);
  --muted: oklch(0.935 0.015 145.455);
  --muted-foreground: oklch(0.412 0.009 145.404);
  --popover: oklch(0.982 0.004 17.222);
  --popover-foreground: oklch(0.114 0.03 23.022);
  --card: oklch(0.982 0.004 17.222);
  --card-foreground: oklch(0.114 0.03 23.022);
  --border: oklch(0.928 0.004 17.238);
  --input: oklch(0.928 0.004 17.238);
  --primary: oklch(0.517 0.212 29.145);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.713 0.242 142.503);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.373 0.257 264.305);
  --accent-foreground: oklch(0.986 0.007 286.278);
  --destructive: oklch(0.595 0.167 43.923);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.517 0.212 29.145);
  --chart-1: oklch(0.517 0.212 29.145);
  --chart-2: oklch(0.713 0.242 142.503);
  --chart-3: oklch(0.373 0.257 264.305);
  --chart-4: oklch(0.754 0.256 142.502);
  --chart-5: oklch(0.522 0.215 29.277);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.007 18.604);
  --foreground: oklch(0.973 0.006 17.255);
  --muted: oklch(0.212 0.021 144.779);
  --muted-foreground: oklch(0.775 0.008 145.499);
  --popover: oklch(0.087 0.007 18.604);
  --popover-foreground: oklch(0.973 0.006 17.255);
  --card: oklch(0.087 0.007 18.604);
  --card-foreground: oklch(0.973 0.006 17.255);
  --border: oklch(0.263 0.01 17.837);
  --input: oklch(0.263 0.01 17.837);
  --primary: oklch(0.517 0.212 29.145);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.713 0.242 142.503);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.373 0.257 264.305);
  --accent-foreground: oklch(0.986 0.007 286.278);
  --destructive: oklch(0.664 0.189 43.658);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.517 0.212 29.145);
  --chart-1: oklch(0.517 0.212 29.145);
  --chart-2: oklch(0.713 0.242 142.503);
  --chart-3: oklch(0.373 0.257 264.305);
  --chart-4: oklch(0.754 0.256 142.502);
  --chart-5: oklch(0.522 0.215 29.277);
}