Authentic for shadcn/ui

Authentic is a shadcn/ui theme built around a vivid red primary color (#d13a10) with muted light red accents (#d5bfb9). The light mode uses a neutral background (#fcf9f8). Dark mode keeps the vivid red primary (#d13a10) on a neutral background (#070403).

Color palette

TokenLightDark
Background
#fcf9f8snow
#070403black
Foreground
#080302black
#f9f6f6whitesmoke
Card
#faf6f4whitesmoke
#0b0604black
Card foreground
#040201black
#fbf9f9snow
Popover
#faf6f4whitesmoke
#0b0604black
Popover foreground
#040201black
#fbf9f9snow
Primary
#d13a10firebrick
#d13a10firebrick
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e0d5d2gainsboro
#3a2f2cdarkslategray
Secondary foreground
#4b3934darkslategray
#d3c8c5lightgrey
Muted
#e4deddgainsboro
#221d1bblack
Muted foreground
#544440darkslategray
#bfafabdarkgray
Accent
#d5bfb9silver
#583e37darkolivegreen
Accent foreground
#392722darkslategray
#e7dcd9gainsboro
Destructive
#bf2203firebrick
#fc4a27orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d13a10firebrick
#d13a10firebrick

Contrast

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

Light mode
Text on background19.53:1AAA
Text on card19.25:1AAA
Primary button4.87:1AA
Secondary button7.54:1AAA
Muted text6.94:1AA
Accent8.05:1AAA
Destructive6.09:1AA
Dark mode
Text on background19.02:1AAA
Text on card19.23:1AAA
Primary button4.87:1AA
Secondary button7.89:1AAA
Muted text7.91:1AAA
Accent7.24:1AAA
Destructive3.41:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.984 0.004 35.999);
  --foreground: oklch(0.111 0.015 43.656);
  --muted: oklch(0.906 0.007 35.988);
  --muted-foreground: oklch(0.403 0.024 35.957);
  --popover: oklch(0.975 0.005 35.993);
  --popover-foreground: oklch(0.088 0.012 43.656);
  --card: oklch(0.975 0.005 35.993);
  --card-foreground: oklch(0.088 0.012 43.656);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.571 0.194 34.64);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.88 0.013 35.97);
  --secondary-foreground: oklch(0.364 0.027 35.984);
  --accent: oklch(0.821 0.026 35.945);
  --accent-foreground: oklch(0.294 0.029 36.046);
  --destructive: oklch(0.519 0.194 32.101);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.571 0.194 34.64);
  --chart-1: oklch(0.571 0.194 34.64);
  --chart-2: oklch(0.88 0.013 35.97);
  --chart-3: oklch(0.821 0.026 35.945);
  --chart-4: oklch(0.905 0.01 35.977);
  --chart-5: oklch(0.575 0.199 34.35);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.112 0.011 41.418);
  --foreground: oklch(0.976 0.003 36.001);
  --muted: oklch(0.235 0.01 35.944);
  --muted-foreground: oklch(0.767 0.02 35.951);
  --popover: oklch(0.128 0.013 41.31);
  --popover-foreground: oklch(0.984 0.002 36.004);
  --card: oklch(0.128 0.013 41.31);
  --card-foreground: oklch(0.984 0.002 36.004);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.571 0.194 34.64);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.317 0.016 35.948);
  --secondary-foreground: oklch(0.841 0.012 35.969);
  --accent: oklch(0.391 0.038 36.047);
  --accent-foreground: oklch(0.904 0.013 35.97);
  --destructive: oklch(0.661 0.219 33.065);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.571 0.194 34.64);
  --chart-1: oklch(0.571 0.194 34.64);
  --chart-2: oklch(0.317 0.016 35.948);
  --chart-3: oklch(0.391 0.038 36.047);
  --chart-4: oklch(0.346 0.018 35.949);
  --chart-5: oklch(0.575 0.199 34.35);
}