Unacceptable for shadcn/ui

Unacceptable is a shadcn/ui theme built around a muted pink primary color (#a2677d) with muted pink accents (#c4a1ae). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the muted pink primary (#a2677d) on a neutral background (#080304).

Color palette

TokenLightDark
Background
#fcf8f9snow
#080304black
Foreground
#0d0206black
#ffffffwhite
Card
#fcf8f9snow
#080304black
Card foreground
#0d0206black
#ffffffwhite
Popover
#fcf8f9snow
#080304black
Popover foreground
#0d0206black
#ffffffwhite
Primary
#a2677dgray
#a2677dgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d4c4cathistle
#20181bblack
Secondary foreground
#3b2b31darkslategray
#c0aab2darkgray
Muted
#ece4e7linen
#1b1316black
Muted foreground
#59464ddarkslategray
#b9a6addarkgray
Accent
#c4a1aedarkgray
#3c252ddarkslategray
Accent foreground
#1f1418black
#d6bdc6thistle
Destructive
#880401darkred
#fd3330crimson
Destructive foreground
#febebdlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a2677dgray
#a2677dgray

Contrast

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

Light mode
Text on background19.38:1AAA
Text on card19.38:1AAA
Primary button4.39:1AA Large
Secondary button7.97:1AAA
Muted text6.99:1AA
Accent7.72:1AAA
Destructive6.43:1AA
Dark mode
Text on background20.52:1AAA
Text on card20.52:1AAA
Primary button4.39:1AA Large
Secondary button7.97:1AAA
Muted text7.91:1AAA
Accent7.98:1AAA
Destructive3.68:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 352.7);
  --foreground: oklch(0.118 0.03 352.605);
  --muted: oklch(0.927 0.009 352.844);
  --muted-foreground: oklch(0.415 0.028 354.433);
  --popover: oklch(0.983 0.004 352.7);
  --popover-foreground: oklch(0.118 0.03 352.605);
  --card: oklch(0.983 0.004 352.7);
  --card-foreground: oklch(0.118 0.03 352.605);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.584 0.08 356.292);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.836 0.019 353.209);
  --secondary-foreground: oklch(0.31 0.024 354.724);
  --accent: oklch(0.744 0.045 354.238);
  --accent-foreground: oklch(0.207 0.021 355.3);
  --destructive: oklch(0.396 0.16 29.373);
  --destructive-foreground: oklch(0.861 0.074 19.815);
  --ring: oklch(0.584 0.08 356.292);
  --chart-1: oklch(0.584 0.08 356.292);
  --chart-2: oklch(0.836 0.019 353.209);
  --chart-3: oklch(0.744 0.045 354.238);
  --chart-4: oklch(0.861 0.016 353.095);
  --chart-5: oklch(0.582 0.09 356.781);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.107 0.016 352.257);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.198 0.013 354.384);
  --muted-foreground: oklch(0.745 0.024 353.479);
  --popover: oklch(0.107 0.016 352.257);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.107 0.016 352.257);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.584 0.08 356.292);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.22 0.015 354.397);
  --secondary-foreground: oklch(0.759 0.028 353.605);
  --accent: oklch(0.296 0.036 355.87);
  --accent-foreground: oklch(0.822 0.03 353.61);
  --destructive: oklch(0.645 0.235 27.575);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.584 0.08 356.292);
  --chart-1: oklch(0.584 0.08 356.292);
  --chart-2: oklch(0.22 0.015 354.397);
  --chart-3: oklch(0.296 0.036 355.87);
  --chart-4: oklch(0.251 0.018 354.539);
  --chart-5: oklch(0.582 0.09 356.781);
}