Luxurious for shadcn/ui

Luxurious is a shadcn/ui theme built around a deep pink primary color (#67182d) with deep teal accents (#186752). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the deep pink primary (#67182d) on a neutral background (#070304).

Color palette

TokenLightDark
Background
#fcf8f9snow
#070304black
Foreground
#000000black
#faf5f6whitesmoke
Card
#faf5f6whitesmoke
#0a0506black
Card foreground
#000000black
#fcf8f9snow
Popover
#fcf8f9snow
#070304black
Popover foreground
#000000black
#faf5f6whitesmoke
Primary
#67182dmaroon
#67182dmaroon
Primary foreground
#f0c1cepink
#f0c1cepink
Secondary
#186752darkslategray
#186752darkslategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dceae6gainsboro
#15231fblack
Muted foreground
#526b64dimgray
#94ada6darkgray
Accent
#186752darkslategray
#186752darkslategray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#cf3607firebrick
#f74c18orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#67182dmaroon
#67182dmaroon

Contrast

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

Light mode
Text on background19.95:1AAA
Text on card19.43:1AAA
Primary button7.55:1AAA
Secondary button6.74:1AA
Muted text4.64:1AA
Accent6.74:1AA
Destructive5.02:1AA
Dark mode
Text on background18.98:1AAA
Text on card19.21:1AAA
Primary button7.55:1AAA
Secondary button6.74:1AA
Muted text6.80:1AA
Accent6.74:1AA
Destructive3.51:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 358.89);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.925 0.015 178.308);
  --muted-foreground: oklch(0.505 0.031 176.888);
  --popover: oklch(0.983 0.004 358.89);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.974 0.005 358.945);
  --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.349 0.112 9.507);
  --primary-foreground: oklch(0.856 0.056 0.599);
  --secondary: oklch(0.462 0.082 170.659);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.462 0.082 170.659);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.564 0.195 34.724);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.349 0.112 9.507);
  --chart-1: oklch(0.349 0.112 9.507);
  --chart-2: oklch(0.462 0.082 170.659);
  --chart-3: oklch(0.462 0.082 170.659);
  --chart-4: oklch(0.501 0.089 170.508);
  --chart-5: oklch(0.351 0.116 10.152);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.012 358.688);
  --foreground: oklch(0.974 0.005 358.945);
  --muted: oklch(0.241 0.02 176.123);
  --muted-foreground: oklch(0.727 0.029 177.598);
  --popover: oklch(0.109 0.012 358.688);
  --popover-foreground: oklch(0.974 0.005 358.945);
  --card: oklch(0.125 0.013 358.7);
  --card-foreground: oklch(0.983 0.004 358.89);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.349 0.112 9.507);
  --primary-foreground: oklch(0.856 0.056 0.599);
  --secondary: oklch(0.462 0.082 170.659);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.462 0.082 170.659);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.653 0.215 35.634);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.349 0.112 9.507);
  --chart-1: oklch(0.349 0.112 9.507);
  --chart-2: oklch(0.462 0.082 170.659);
  --chart-3: oklch(0.462 0.082 170.659);
  --chart-4: oklch(0.501 0.089 170.508);
  --chart-5: oklch(0.351 0.116 10.152);
}