Perfumed for shadcn/ui

Perfumed is a shadcn/ui theme built around a deep pink primary color (#350e1d) with muted pink accents (#cbafb9). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the deep pink primary (#350e1d) on a pink-tinted background (#0c0307).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#0c0307black
Foreground
#0d0307black
#f8f7f7whitesmoke
Card
#fdfcfcsnow
#0c0307black
Card foreground
#0d0307black
#f8f7f7whitesmoke
Popover
#fdfcfcsnow
#0c0307black
Popover foreground
#0d0307black
#f8f7f7whitesmoke
Primary
#350e1dblack
#350e1dblack
Primary foreground
#e392b1palevioletred
#e392b1palevioletred
Secondary
#d7ccd0lightgrey
#222021black
Secondary foreground
#3f3137darkslategray
#bcb8basilver
Muted
#f4e6eclinen
#190b10black
Muted foreground
#50494cdarkslategray
#b6afb2darkgray
Accent
#cbafb9silver
#33292ddarkslategray
Accent foreground
#2b1c22black
#cdc1c5silver
Destructive
#883007saddlebrown
#e4500corangered
Destructive foreground
#fcd6c5peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#350e1dblack
#350e1dblack

Contrast

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

Light mode
Text on background19.81:1AAA
Text on card19.81:1AAA
Primary button7.34:1AAA
Secondary button7.84:1AAA
Muted text7.25:1AAA
Accent8.00:1AAA
Destructive6.31:1AA
Dark mode
Text on background19.02:1AAA
Text on card19.02:1AAA
Primary button7.34:1AAA
Secondary button8.24:1AAA
Muted text8.91:1AAA
Accent8.05:1AAA
Destructive3.85:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 351.648);
  --foreground: oklch(0.119 0.026 351.552);
  --muted: oklch(0.938 0.017 352.092);
  --muted-foreground: oklch(0.413 0.011 352.356);
  --popover: oklch(0.991 0.002 351.648);
  --popover-foreground: oklch(0.119 0.026 351.552);
  --card: oklch(0.991 0.002 351.648);
  --card-foreground: oklch(0.119 0.026 351.552);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.233 0.065 359.698);
  --primary-foreground: oklch(0.75 0.105 355.348);
  --secondary: oklch(0.854 0.013 352.038);
  --secondary-foreground: oklch(0.331 0.021 353.339);
  --accent: oklch(0.781 0.035 352.838);
  --accent-foreground: oklch(0.248 0.025 354.357);
  --destructive: oklch(0.432 0.129 40.519);
  --destructive-foreground: oklch(0.904 0.048 46.329);
  --ring: oklch(0.233 0.065 359.698);
  --chart-1: oklch(0.233 0.065 359.698);
  --chart-2: oklch(0.854 0.013 352.038);
  --chart-3: oklch(0.781 0.035 352.838);
  --chart-4: oklch(0.879 0.011 351.951);
  --chart-5: oklch(0.234 0.068 0.168);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.024 351.513);
  --foreground: oklch(0.976 0.002 351.644);
  --muted: oklch(0.172 0.026 355.646);
  --muted-foreground: oklch(0.76 0.01 351.95);
  --popover: oklch(0.12 0.024 351.513);
  --popover-foreground: oklch(0.976 0.002 351.644);
  --card: oklch(0.12 0.024 351.513);
  --card-foreground: oklch(0.976 0.002 351.644);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.233 0.065 359.698);
  --primary-foreground: oklch(0.75 0.105 355.348);
  --secondary: oklch(0.247 0.003 351.972);
  --secondary-foreground: oklch(0.787 0.005 351.778);
  --accent: oklch(0.293 0.016 353.123);
  --accent-foreground: oklch(0.822 0.015 352.115);
  --destructive: oklch(0.627 0.194 39.485);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.233 0.065 359.698);
  --chart-1: oklch(0.233 0.065 359.698);
  --chart-2: oklch(0.247 0.003 351.972);
  --chart-3: oklch(0.293 0.016 353.123);
  --chart-4: oklch(0.278 0.004 351.995);
  --chart-5: oklch(0.234 0.068 0.168);
}