Ill-fated for shadcn/ui

Ill-fated is a shadcn/ui theme built around a pink primary color (#6e2b3f) with red accents (#6e382b). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#6e2b3f) on a pink-tinted background (#100508).

Color palette

TokenLightDark
Background
#fefbfcsnow
#100508black
Foreground
#090103black
#fcf8f9snow
Card
#fcf8f9snow
#14060ablack
Card foreground
#050102black
#fdfcfcsnow
Popover
#fefbfcsnow
#100508black
Popover foreground
#090103black
#fcf8f9snow
Primary
#6e2b3fsaddlebrown
#6e2b3fsaddlebrown
Primary foreground
#f1dae1mistyrose
#f1dae1mistyrose
Secondary
#6e2b61purple
#6e2b61purple
Secondary foreground
#f1daecmistyrose
#f1daecmistyrose
Muted
#efdceblavender
#23101fblack
Muted foreground
#545454dimgray
#abababdarkgray
Accent
#6e382bsaddlebrown
#6e382bsaddlebrown
Accent foreground
#f1dfdaantiquewhite
#f1dfdaantiquewhite
Destructive
#c20600firebrick
#ff0d05red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6e2b3fsaddlebrown
#6e2b3fsaddlebrown

Contrast

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

Light mode
Text on background20.10:1AAA
Text on card19.67:1AAA
Primary button7.62:1AAA
Secondary button7.33:1AAA
Muted text5.80:1AA
Accent7.17:1AAA
Destructive6.33:1AA
Dark mode
Text on background19.07:1AAA
Text on card19.37:1AAA
Primary button7.62:1AAA
Secondary button7.33:1AAA
Muted text7.84:1AAA
Accent7.17:1AAA
Destructive3.95:1AA Large

CSS variables

Paste this into your globals.css to use Ill-fated in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 356.729);
  --foreground: oklch(0.1 0.029 356.197);
  --muted: oklch(0.914 0.029 332.477);
  --muted-foreground: oklch(0.446 0 180);
  --popover: oklch(0.991 0.002 356.729);
  --popover-foreground: oklch(0.1 0.029 356.197);
  --card: oklch(0.982 0.005 356.801);
  --card-foreground: oklch(0.079 0.023 356.197);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.391 0.098 4.011);
  --primary-foreground: oklch(0.909 0.026 357.475);
  --secondary: oklch(0.405 0.118 336.024);
  --secondary-foreground: oklch(0.913 0.034 332.551);
  --accent: oklch(0.408 0.08 35.054);
  --accent-foreground: oklch(0.916 0.021 34.297);
  --destructive: oklch(0.512 0.208 29.599);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.391 0.098 4.011);
  --chart-1: oklch(0.391 0.098 4.011);
  --chart-2: oklch(0.405 0.118 336.024);
  --chart-3: oklch(0.408 0.08 35.054);
  --chart-4: oklch(0.432 0.127 336.074);
  --chart-5: oklch(0.391 0.104 4.599);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.024 358.02);
  --foreground: oklch(0.983 0.004 356.773);
  --muted: oklch(0.207 0.042 334.766);
  --muted-foreground: oklch(0.741 0 171.254);
  --popover: oklch(0.134 0.024 358.02);
  --popover-foreground: oklch(0.983 0.004 356.773);
  --card: oklch(0.147 0.028 359.882);
  --card-foreground: oklch(0.991 0.002 356.715);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.391 0.098 4.011);
  --primary-foreground: oklch(0.909 0.026 357.475);
  --secondary: oklch(0.405 0.118 336.024);
  --secondary-foreground: oklch(0.913 0.034 332.551);
  --accent: oklch(0.408 0.08 35.054);
  --accent-foreground: oklch(0.916 0.021 34.297);
  --destructive: oklch(0.63 0.255 29.372);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.391 0.098 4.011);
  --chart-1: oklch(0.391 0.098 4.011);
  --chart-2: oklch(0.405 0.118 336.024);
  --chart-3: oklch(0.408 0.08 35.054);
  --chart-4: oklch(0.432 0.127 336.074);
  --chart-5: oklch(0.391 0.104 4.599);
}