Best for shadcn/ui

Best is a shadcn/ui theme built around a deep pink primary color (#471030) with muted light pink accents (#e1d0da). The light mode uses a neutral background (#fefbfd). Dark mode keeps the deep pink primary (#471030) on a neutral background (#040103).

Color palette

TokenLightDark
Background
#fefbfdsnow
#040103black
Foreground
#090106black
#fcf8fasnow
Card
#fdf7fasnow
#070305black
Card foreground
#050103black
#fdfcfdwhite
Popover
#fefbfdsnow
#040103black
Popover foreground
#090106black
#fcf8fasnow
Primary
#471030darkslategray
#471030darkslategray
Primary foreground
#e99fcbplum
#e99fcbplum
Secondary
#ede8eblinen
#251820black
Secondary foreground
#5c4753dimgray
#c6a9basilver
Muted
#f4f0f3whitesmoke
#0f0b0dblack
Muted foreground
#755769dimgray
#a88a9crosybrown
Accent
#e1d0dagainsboro
#3b2130darkslategray
Accent foreground
#4e3242darkslategray
#d7b7cathistle
Destructive
#d84e03chocolate
#fc6b1dchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#471030darkslategray
#471030darkslategray

Contrast

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

Light mode
Text on background20.04:1AAA
Text on card19.60:1AAA
Primary button7.44:1AAA
Secondary button6.99:1AA
Muted text5.61:1AA
Accent7.67:1AAA
Destructive4.19:1AA Large
Dark mode
Text on background19.70:1AAA
Text on card20.03:1AAA
Primary button7.44:1AAA
Secondary button7.93:1AAA
Muted text6.31:1AA
Accent7.96:1AAA
Destructive7.23:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 341.107);
  --foreground: oklch(0.102 0.032 341.137);
  --muted: oklch(0.96 0.005 341.127);
  --muted-foreground: oklch(0.494 0.048 343.153);
  --popover: oklch(0.991 0.004 341.107);
  --popover-foreground: oklch(0.102 0.032 341.137);
  --card: oklch(0.981 0.008 341.203);
  --card-foreground: oklch(0.081 0.025 341.137);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.279 0.091 348.676);
  --primary-foreground: oklch(0.788 0.103 343.855);
  --secondary: oklch(0.936 0.007 341.188);
  --secondary-foreground: oklch(0.425 0.035 342.816);
  --accent: oklch(0.875 0.023 341.609);
  --accent-foreground: oklch(0.355 0.048 343.93);
  --destructive: oklch(0.605 0.186 40.692);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.279 0.091 348.676);
  --chart-1: oklch(0.279 0.091 348.676);
  --chart-2: oklch(0.936 0.007 341.188);
  --chart-3: oklch(0.875 0.023 341.609);
  --chart-4: oklch(0.96 0.004 341.119);
  --chart-5: oklch(0.28 0.094 349.05);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.013 341.076);
  --foreground: oklch(0.983 0.004 341.117);
  --muted: oklch(0.155 0.007 342.1);
  --muted-foreground: oklch(0.666 0.044 342.504);
  --popover: oklch(0.086 0.013 341.076);
  --popover-foreground: oklch(0.983 0.004 341.117);
  --card: oklch(0.109 0.016 341.076);
  --card-foreground: oklch(0.991 0.002 341.065);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.279 0.091 348.676);
  --primary-foreground: oklch(0.788 0.103 343.855);
  --secondary: oklch(0.23 0.023 343.238);
  --secondary-foreground: oklch(0.766 0.04 342.191);
  --accent: oklch(0.287 0.046 344.474);
  --accent-foreground: oklch(0.813 0.043 342.216);
  --destructive: oklch(0.698 0.194 43.466);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.279 0.091 348.676);
  --chart-1: oklch(0.279 0.091 348.676);
  --chart-2: oklch(0.23 0.023 343.238);
  --chart-3: oklch(0.287 0.046 344.474);
  --chart-4: oklch(0.26 0.028 343.386);
  --chart-5: oklch(0.28 0.094 349.05);
}