Quintessential for shadcn/ui

Quintessential is a shadcn/ui theme built around a muted pink primary color (#bfa6b6) with muted red accents (#bfa6aa). The light mode uses a neutral background (#fefbfd). Dark mode keeps the muted pink primary (#bfa6b6) on a pink-tinted background (#0a0508).

Color palette

TokenLightDark
Background
#fefbfdsnow
#0a0508black
Foreground
#040103black
#faf5f8whitesmoke
Card
#fcf8fbsnow
#0e070bblack
Card foreground
#000000black
#fcf8fasnow
Popover
#fefbfdsnow
#0a0508black
Popover foreground
#040103black
#faf5f8whitesmoke
Primary
#bfa6b6darkgray
#bfa6b6darkgray
Primary foreground
#1e151bblack
#1e151bblack
Secondary
#bba6bfsilver
#bba6bfsilver
Secondary foreground
#1c151eblack
#1c151eblack
Muted
#f2ecf3whitesmoke
#120c13black
Muted foreground
#595959dimgray
#a6a6a6darkgray
Accent
#bfa6aadarkgray
#bfa6aadarkgray
Accent foreground
#1e1517black
#1e1517black
Destructive
#892006darkred
#f65128tomato
Destructive foreground
#fdd0c4peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bfa6b6darkgray
#bfa6b6darkgray

Contrast

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

Light mode
Text on background20.23:1AAA
Text on card19.91:1AAA
Primary button7.93:1AAA
Secondary button7.95:1AAA
Muted text6.03:1AA
Accent7.88:1AAA
Destructive6.59:1AA
Dark mode
Text on background18.75:1AAA
Text on card18.96:1AAA
Primary button7.93:1AAA
Secondary button7.95:1AAA
Muted text7.94:1AAA
Accent7.88:1AAA
Destructive3.42:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 338.786);
  --foreground: oklch(0.085 0.018 338.995);
  --muted: oklch(0.95 0.011 321.626);
  --muted-foreground: oklch(0.465 0 180);
  --popover: oklch(0.991 0.003 338.786);
  --popover-foreground: oklch(0.085 0.018 338.995);
  --card: oklch(0.982 0.006 338.854);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.752 0.035 339.701);
  --primary-foreground: oklch(0.21 0.016 340.306);
  --secondary: oklch(0.752 0.042 321.744);
  --secondary-foreground: oklch(0.21 0.019 321.835);
  --accent: oklch(0.748 0.029 8.687);
  --accent-foreground: oklch(0.208 0.013 9.315);
  --destructive: oklch(0.416 0.144 33.972);
  --destructive-foreground: oklch(0.892 0.053 34.361);
  --ring: oklch(0.752 0.035 339.701);
  --chart-1: oklch(0.752 0.035 339.701);
  --chart-2: oklch(0.752 0.042 321.744);
  --chart-3: oklch(0.748 0.029 8.687);
  --chart-4: oklch(0.777 0.037 321.724);
  --chart-5: oklch(0.75 0.042 339.883);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.015 338.883);
  --foreground: oklch(0.974 0.007 338.883);
  --muted: oklch(0.165 0.017 321.871);
  --muted-foreground: oklch(0.724 0 180);
  --popover: oklch(0.126 0.015 338.883);
  --popover-foreground: oklch(0.974 0.007 338.883);
  --card: oklch(0.14 0.017 340.183);
  --card-foreground: oklch(0.983 0.005 338.827);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.752 0.035 339.701);
  --primary-foreground: oklch(0.21 0.016 340.306);
  --secondary: oklch(0.752 0.042 321.744);
  --secondary-foreground: oklch(0.21 0.019 321.835);
  --accent: oklch(0.748 0.029 8.687);
  --accent-foreground: oklch(0.208 0.013 9.315);
  --destructive: oklch(0.658 0.208 34.716);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.752 0.035 339.701);
  --chart-1: oklch(0.752 0.035 339.701);
  --chart-2: oklch(0.752 0.042 321.744);
  --chart-3: oklch(0.748 0.029 8.687);
  --chart-4: oklch(0.777 0.037 321.724);
  --chart-5: oklch(0.75 0.042 339.883);
}