Qualified for shadcn/ui

Qualified is a shadcn/ui theme built around a muted deep pink primary color (#3f3137) with muted deep red accents (#3f3231). The light mode uses a neutral background (#fdfbfc). Dark mode keeps the muted deep pink primary (#3f3137) on a pink-tinted background (#0b0407).

Color palette

TokenLightDark
Background
#fdfbfcsnow
#0b0407black
Foreground
#14060cblack
#fcf8fasnow
Card
#fcf8fasnow
#0f0509black
Card foreground
#100409black
#fdfbfcsnow
Popover
#fdfbfcsnow
#0b0407black
Popover foreground
#14060cblack
#fcf8fasnow
Primary
#3f3137darkslategray
#3f3137darkslategray
Primary foreground
#d7ccd0lightgrey
#d7ccd0lightgrey
Secondary
#3f313edarkslategray
#3f313edarkslategray
Secondary foreground
#d7ccd6lightgrey
#d7ccd6lightgrey
Muted
#e7dee7gainsboro
#211820black
Muted foreground
#444143darkslategray
#bebbbesilver
Accent
#3f3231darkslategray
#3f3231darkslategray
Accent foreground
#d7cdcclightgrey
#d7cdcclightgrey
Destructive
#880f06darkred
#f42010red
Destructive foreground
#fcc8c5pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#3f3137darkslategray
#3f3137darkslategray

Contrast

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

Light mode
Text on background19.28:1AAA
Text on card19.10:1AAA
Primary button7.85:1AAA
Secondary button7.82:1AAA
Muted text7.71:1AAA
Accent7.84:1AAA
Destructive6.68:1AA
Dark mode
Text on background19.27:1AAA
Text on card19.45:1AAA
Primary button7.85:1AAA
Secondary button7.82:1AAA
Muted text9.11:1AAA
Accent7.84:1AAA
Destructive4.16:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 349.736);
  --foreground: oklch(0.147 0.03 353.245);
  --muted: oklch(0.911 0.015 328.231);
  --muted-foreground: oklch(0.379 0.005 328.212);
  --popover: oklch(0.991 0.002 349.736);
  --popover-foreground: oklch(0.147 0.03 353.245);
  --card: oklch(0.982 0.005 349.803);
  --card-foreground: oklch(0.135 0.026 351.272);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.332 0.021 351.409);
  --primary-foreground: oklch(0.854 0.014 350.116);
  --secondary: oklch(0.334 0.028 328.909);
  --secondary-foreground: oklch(0.856 0.018 328.285);
  --accent: oklch(0.332 0.018 24.191);
  --accent-foreground: oklch(0.855 0.011 23.713);
  --destructive: oklch(0.402 0.155 29.794);
  --destructive-foreground: oklch(0.878 0.06 23.097);
  --ring: oklch(0.332 0.021 351.409);
  --chart-1: oklch(0.332 0.021 351.409);
  --chart-2: oklch(0.334 0.028 328.909);
  --chart-3: oklch(0.332 0.018 24.191);
  --chart-4: oklch(0.363 0.031 328.929);
  --chart-5: oklch(0.33 0.027 351.848);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.019 349.526);
  --foreground: oklch(0.982 0.005 349.806);
  --muted: oklch(0.222 0.021 329);
  --muted-foreground: oklch(0.796 0.004 328.123);
  --popover: oklch(0.123 0.019 349.526);
  --popover-foreground: oklch(0.982 0.005 349.806);
  --card: oklch(0.136 0.022 351.105);
  --card-foreground: oklch(0.991 0.002 349.738);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.332 0.021 351.409);
  --primary-foreground: oklch(0.854 0.014 350.116);
  --secondary: oklch(0.334 0.028 328.909);
  --secondary-foreground: oklch(0.856 0.018 328.285);
  --accent: oklch(0.332 0.018 24.191);
  --accent-foreground: oklch(0.855 0.011 23.713);
  --destructive: oklch(0.616 0.24 29.75);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.332 0.021 351.409);
  --chart-1: oklch(0.332 0.021 351.409);
  --chart-2: oklch(0.334 0.028 328.909);
  --chart-3: oklch(0.332 0.018 24.191);
  --chart-4: oklch(0.363 0.031 328.929);
  --chart-5: oklch(0.33 0.027 351.848);
}