Pinky for shadcn/ui

Pinky is a shadcn/ui theme built around a pink primary color (#c73362) with teal accents (#33c798). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the pink primary (#c73362) on a neutral background (#080204).

Color palette

TokenLightDark
Background
#fcf8f9snow
#080204black
Foreground
#15040ablack
#ffffffwhite
Card
#fcf8f9snow
#080204black
Card foreground
#15040ablack
#ffffffwhite
Popover
#fcf8f9snow
#080204black
Popover foreground
#15040ablack
#ffffffwhite
Primary
#c73362indianred
#c73362indianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#33c798lightseagreen
#33c798lightseagreen
Secondary foreground
#09241cblack
#09241cblack
Muted
#e8f2efwhitesmoke
#0d1714black
Muted foreground
#49504edarkslategray
#afb6b4darkgray
Accent
#33c798lightseagreen
#33c798lightseagreen
Accent foreground
#09241cblack
#09241cblack
Destructive
#a82a0bfirebrick
#f03c0forangered
Destructive foreground
#fdece7linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c73362indianred
#c73362indianred

Contrast

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

Light mode
Text on background18.93:1AAA
Text on card18.93:1AAA
Primary button5.15:1AA
Secondary button7.60:1AAA
Muted text7.24:1AAA
Accent7.60:1AAA
Destructive6.11:1AA
Dark mode
Text on background20.53:1AAA
Text on card20.53:1AAA
Primary button5.15:1AA
Secondary button7.60:1AAA
Muted text8.85:1AAA
Accent7.60:1AAA
Destructive3.92:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 355.725);
  --foreground: oklch(0.145 0.036 359.228);
  --muted: oklch(0.953 0.012 175.251);
  --muted-foreground: oklch(0.423 0.009 175.019);
  --popover: oklch(0.983 0.004 355.725);
  --popover-foreground: oklch(0.145 0.036 359.228);
  --card: oklch(0.983 0.004 355.725);
  --card-foreground: oklch(0.145 0.036 359.228);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.56 0.185 6.793);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.741 0.139 166.671);
  --secondary-foreground: oklch(0.238 0.037 169.354);
  --accent: oklch(0.741 0.139 166.671);
  --accent-foreground: oklch(0.238 0.037 169.354);
  --destructive: oklch(0.483 0.167 33.939);
  --destructive-foreground: oklch(0.955 0.021 34.297);
  --ring: oklch(0.56 0.185 6.793);
  --chart-1: oklch(0.56 0.185 6.793);
  --chart-2: oklch(0.741 0.139 166.671);
  --chart-3: oklch(0.741 0.139 166.671);
  --chart-4: oklch(0.761 0.138 167.279);
  --chart-5: oklch(0.562 0.192 7.49);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.106 0.017 355.327);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.193 0.017 172.793);
  --muted-foreground: oklch(0.769 0.007 175.335);
  --popover: oklch(0.106 0.017 355.327);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.106 0.017 355.327);
  --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.56 0.185 6.793);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.741 0.139 166.671);
  --secondary-foreground: oklch(0.238 0.037 169.354);
  --accent: oklch(0.741 0.139 166.671);
  --accent-foreground: oklch(0.238 0.037 169.354);
  --destructive: oklch(0.627 0.221 33.631);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.56 0.185 6.793);
  --chart-1: oklch(0.56 0.185 6.793);
  --chart-2: oklch(0.741 0.139 166.671);
  --chart-3: oklch(0.741 0.139 166.671);
  --chart-4: oklch(0.761 0.138 167.279);
  --chart-5: oklch(0.562 0.192 7.49);
}