Wrong for shadcn/ui

Wrong is a shadcn/ui theme built around a vivid pink primary color (#fd63ab) with muted light pink accents (#e0ccd6). The light mode uses a neutral background (#fefbfc). Dark mode keeps the vivid pink primary (#fd63ab) on a neutral background (#080305).

Color palette

TokenLightDark
Background
#fefbfcsnow
#080305black
Foreground
#000000black
#fcf8fasnow
Card
#fefbfcsnow
#080305black
Card foreground
#000000black
#fcf8fasnow
Popover
#fefbfcsnow
#080305black
Popover foreground
#000000black
#fcf8fasnow
Primary
#fd63abhotpink
#fd63abhotpink
Primary foreground
#2d0115black
#2d0115black
Secondary
#eee7ealinen
#31262bdarkslategray
Secondary foreground
#5f4551dimgray
#ccbdc4silver
Muted
#eedde5mistyrose
#221119black
Muted foreground
#6b525edimgray
#ad94a0darkgray
Accent
#e0ccd6lightgrey
#482d3adarkslategray
Accent foreground
#4d2e3cdarkslategray
#decad3thistle
Destructive
#660e00maroon
#ff2b0aorangered
Destructive foreground
#ffa799lightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fd63abhotpink
#fd63abhotpink

Contrast

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

Light mode
Text on background20.41:1AAA
Text on card20.41:1AAA
Primary button6.69:1AA
Secondary button7.03:1AAA
Muted text5.38:1AA
Accent7.78:1AAA
Destructive6.91:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button6.69:1AA
Secondary button8.09:1AAA
Muted text6.46:1AA
Accent7.86:1AAA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.004 347.011);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.914 0.021 347.521);
  --muted-foreground: oklch(0.468 0.037 348.92);
  --popover: oklch(0.991 0.004 347.011);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.991 0.004 347.011);
  --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.715 0.199 354.312);
  --primary-foreground: oklch(0.195 0.078 356.943);
  --secondary: oklch(0.935 0.008 347.14);
  --secondary-foreground: oklch(0.421 0.04 349.338);
  --accent: oklch(0.865 0.026 347.701);
  --accent-foreground: oklch(0.344 0.05 350.542);
  --destructive: oklch(0.329 0.123 32.493);
  --destructive-foreground: oklch(0.811 0.107 29.162);
  --ring: oklch(0.715 0.199 354.312);
  --chart-1: oklch(0.715 0.199 354.312);
  --chart-2: oklch(0.935 0.008 347.14);
  --chart-3: oklch(0.865 0.026 347.701);
  --chart-4: oklch(0.959 0.005 347.048);
  --chart-5: oklch(0.716 0.204 354.559);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.107 0.018 346.668);
  --foreground: oklch(0.983 0.004 347.027);
  --muted: oklch(0.205 0.031 350.715);
  --muted-foreground: oklch(0.693 0.033 348.155);
  --popover: oklch(0.107 0.018 346.668);
  --popover-foreground: oklch(0.983 0.004 347.027);
  --card: oklch(0.107 0.018 346.668);
  --card-foreground: oklch(0.983 0.004 347.027);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.715 0.199 354.312);
  --primary-foreground: oklch(0.195 0.078 356.943);
  --secondary: oklch(0.282 0.019 348.654);
  --secondary-foreground: oklch(0.812 0.02 347.551);
  --accent: oklch(0.335 0.044 350.22);
  --accent-foreground: oklch(0.857 0.025 347.692);
  --destructive: oklch(0.642 0.245 31.113);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.715 0.199 354.312);
  --chart-1: oklch(0.715 0.199 354.312);
  --chart-2: oklch(0.282 0.019 348.654);
  --chart-3: oklch(0.335 0.044 350.22);
  --chart-4: oklch(0.312 0.022 348.72);
  --chart-5: oklch(0.716 0.204 354.559);
}