Improvised Pink v2 for shadcn/ui

Improvised Pink v2 is a shadcn/ui theme built around a vivid green primary color (#55ec71) with vivid purple accents (#ec55d0). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#55ec71) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#fcfdfcwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#fcfdfcwhite
Primary
#55ec71mediumseagreen
#55ec71mediumseagreen
Primary foreground
#020e04black
#020e04black
Secondary
#ec55d0orchid
#ec55d0orchid
Secondary foreground
#0e020cblack
#0e020cblack
Muted
#e6c8e0thistle
#191518black
Muted foreground
#574c55dimgray
#b3a8b1darkgray
Accent
#ec55d0orchid
#ec55d0orchid
Accent foreground
#0e020cblack
#0e020cblack
Destructive
#b40c04firebrick
#fa291eorangered
Destructive foreground
#ffeceblinen
#ffffffwhite
Border
#804575dimgray
#804575dimgray
Input
#b2dab9silver
#202721black
Ring
#55ec71mediumseagreen
#55ec71mediumseagreen

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button12.78:1AAA
Secondary button6.57:1AA
Muted text5.33:1AA
Accent6.57:1AA
Destructive6.15:1AA
Dark mode
Text on background20.59:1AAA
Text on card20.67:1AAA
Primary button12.78:1AAA
Secondary button6.57:1AA
Muted text7.88:1AAA
Accent6.57:1AA
Destructive3.87:1AA Large

CSS variables

Paste this into your globals.css to use Improvised Pink v2 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.865 0.045 332.133);
  --muted-foreground: oklch(0.431 0.021 332.088);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.479 0.102 334.291);
  --input: oklch(0.85 0.062 150.383);
  --primary: oklch(0.836 0.209 146.696);
  --primary-foreground: oklch(0.145 0.034 149.831);
  --secondary: oklch(0.691 0.227 335.79);
  --secondary-foreground: oklch(0.12 0.04 333.5);
  --accent: oklch(0.691 0.227 335.79);
  --accent-foreground: oklch(0.12 0.04 333.5);
  --destructive: oklch(0.487 0.195 29.639);
  --destructive-foreground: oklch(0.958 0.02 21.166);
  --ring: oklch(0.836 0.209 146.696);
  --chart-1: oklch(0.836 0.209 146.696);
  --chart-2: oklch(0.691 0.227 335.79);
  --chart-3: oklch(0.691 0.227 335.79);
  --chart-4: oklch(0.71 0.212 335.34);
  --chart-5: oklch(0.842 0.215 146.547);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.002 151.375);
  --muted: oklch(0.202 0.009 332.044);
  --muted-foreground: oklch(0.743 0.018 331.756);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.002 151.375);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.479 0.104 334.368);
  --input: oklch(0.265 0.015 150.577);
  --primary: oklch(0.836 0.209 146.696);
  --primary-foreground: oklch(0.145 0.034 149.831);
  --secondary: oklch(0.691 0.227 335.79);
  --secondary-foreground: oklch(0.12 0.04 333.5);
  --accent: oklch(0.691 0.227 335.79);
  --accent-foreground: oklch(0.12 0.04 333.5);
  --destructive: oklch(0.633 0.241 29.188);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.836 0.209 146.696);
  --chart-1: oklch(0.836 0.209 146.696);
  --chart-2: oklch(0.691 0.227 335.79);
  --chart-3: oklch(0.691 0.227 335.79);
  --chart-4: oklch(0.71 0.212 335.34);
  --chart-5: oklch(0.842 0.215 146.547);
}