Reluctant Plum Perfect Last for shadcn/ui

Reluctant Plum Perfect Last is a shadcn/ui theme built around a vivid pink primary color (#ab1755) with vivid red accents (#ab2417). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid pink primary (#ab1755) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8fasnow
#000000black
Foreground
#080205black
#fdfcfcsnow
Card
#fbf4f7lavenderblush
#030303black
Card foreground
#040102black
#ffffffwhite
Popover
#fcf8fasnow
#000000black
Popover foreground
#080205black
#fdfcfcsnow
Primary
#ab1755brown
#ab1755brown
Primary foreground
#fef6f9snow
#fef6f9snow
Secondary
#ab179emediumvioletred
#ab179emediumvioletred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ebd6e9gainsboro
#291427black
Muted foreground
#5d4c5bdimgray
#b3a2b2darkgray
Accent
#ab2417firebrick
#ab2417firebrick
Accent foreground
#fef7f6snow
#fef7f6snow
Destructive
#933601saddlebrown
#fa3714orangered
Destructive foreground
#ffffffwhite
#000000black
Border
#eae6e8lavender
#1c1719black
Input
#eae6e8lavender
#1c1719black
Ring
#ab1755brown
#ab1755brown

Contrast

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

Light mode
Text on background19.49:1AAA
Text on card19.18:1AAA
Primary button6.64:1AA
Secondary button6.28:1AA
Muted text5.78:1AA
Accent6.65:1AA
Destructive7.55:1AAA
Dark mode
Text on background20.50:1AAA
Text on card20.67:1AAA
Primary button6.64:1AA
Secondary button6.28:1AA
Muted text7.12:1AAA
Accent6.65:1AA
Destructive5.62:1AA

CSS variables

Paste this into your globals.css to use Reluctant Plum Perfect Last in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 349.817);
  --foreground: oklch(0.104 0.023 349.256);
  --muted: oklch(0.899 0.034 328.453);
  --muted-foreground: oklch(0.438 0.033 328.82);
  --popover: oklch(0.982 0.005 349.817);
  --popover-foreground: oklch(0.104 0.023 349.256);
  --card: oklch(0.973 0.008 349.892);
  --card-foreground: oklch(0.083 0.018 349.256);
  --border: oklch(0.929 0.005 349.822);
  --input: oklch(0.929 0.005 349.822);
  --primary: oklch(0.486 0.182 3.347);
  --primary-foreground: oklch(0.98 0.009 349.935);
  --secondary: oklch(0.519 0.221 332.318);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.483 0.173 29.868);
  --accent-foreground: oklch(0.98 0.008 23.658);
  --destructive: oklch(0.46 0.136 42.815);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.486 0.182 3.347);
  --chart-1: oklch(0.486 0.182 3.347);
  --chart-2: oklch(0.519 0.221 332.318);
  --chart-3: oklch(0.483 0.173 29.868);
  --chart-4: oklch(0.548 0.234 332.341);
  --chart-5: oklch(0.49 0.186 3.993);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.991 0.002 349.722);
  --muted: oklch(0.23 0.047 330.008);
  --muted-foreground: oklch(0.733 0.029 328.47);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.991 0.002 349.722);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.212 0.008 350.719);
  --input: oklch(0.212 0.008 350.719);
  --primary: oklch(0.486 0.182 3.347);
  --primary-foreground: oklch(0.98 0.009 349.935);
  --secondary: oklch(0.519 0.221 332.318);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.483 0.173 29.868);
  --accent-foreground: oklch(0.98 0.008 23.658);
  --destructive: oklch(0.641 0.233 32.027);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.486 0.182 3.347);
  --chart-1: oklch(0.486 0.182 3.347);
  --chart-2: oklch(0.519 0.221 332.318);
  --chart-3: oklch(0.483 0.173 29.868);
  --chart-4: oklch(0.548 0.234 332.341);
  --chart-5: oklch(0.49 0.186 3.993);
}