Vivid Cerise Carp for shadcn/ui

Vivid Cerise Carp is a shadcn/ui theme built around a pink primary color (#d62480) with muted pink accents (#cda7bb). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the pink primary (#d62480) on a neutral background (#040103).

Color palette

TokenLightDark
Background
#fdf7fasnow
#040103black
Foreground
#080205black
#fdfcfcsnow
Card
#fbf3f7lavenderblush
#070305black
Card foreground
#040103black
#ffffffwhite
Popover
#fbf3f7lavenderblush
#070305black
Popover foreground
#040103black
#ffffffwhite
Primary
#d62480mediumvioletred
#d62480mediumvioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d9c9d1lightgrey
#332e31darkslategray
Secondary foreground
#422e38darkslategray
#cdc6calightgrey
Muted
#e2cfd9gainsboro
#301d27darkslategray
Muted foreground
#69545fdimgray
#ab96a1darkgray
Accent
#cda7bbsilver
#4d3843darkslategray
Accent foreground
#2a1821black
#e1d6dbgainsboro
Destructive
#6b240amaroon
#d74814chocolate
Destructive foreground
#f8c3b0lightpink
#ffffffwhite
Border
#e8e3e6gainsboro
#1f191cblack
Input
#e8e3e6gainsboro
#1f191cblack
Ring
#d62480mediumvioletred
#d62480mediumvioletred

Contrast

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

Light mode
Text on background19.45:1AAA
Text on card19.10:1AAA
Primary button4.75:1AA
Secondary button7.87:1AAA
Muted text4.67:1AA
Accent7.86:1AAA
Destructive7.12:1AAA
Dark mode
Text on background20.26:1AAA
Text on card20.50:1AAA
Primary button4.75:1AA
Secondary button7.97:1AAA
Muted text5.73:1AA
Accent7.59:1AAA
Destructive4.36:1AA Large

CSS variables

Paste this into your globals.css to use Vivid Cerise Carp in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.007 344.467);
  --foreground: oklch(0.107 0.02 344.152);
  --muted: oklch(0.874 0.025 345.002);
  --muted-foreground: oklch(0.47 0.032 345.938);
  --popover: oklch(0.972 0.01 344.56);
  --popover-foreground: oklch(0.085 0.016 344.152);
  --card: oklch(0.972 0.01 344.56);
  --card-foreground: oklch(0.085 0.016 344.152);
  --border: oklch(0.92 0.007 344.467);
  --input: oklch(0.92 0.007 344.467);
  --primary: oklch(0.584 0.219 355.848);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.851 0.022 344.926);
  --secondary-foreground: oklch(0.329 0.034 346.768);
  --accent: oklch(0.768 0.052 345.948);
  --accent-foreground: oklch(0.237 0.034 347.678);
  --destructive: oklch(0.365 0.108 38.44);
  --destructive-foreground: oklch(0.859 0.066 40.911);
  --ring: oklch(0.584 0.219 355.848);
  --chart-1: oklch(0.584 0.219 355.848);
  --chart-2: oklch(0.851 0.022 344.926);
  --chart-3: oklch(0.768 0.052 345.948);
  --chart-4: oklch(0.877 0.018 344.802);
  --chart-5: oklch(0.588 0.224 356.398);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.012 344.182);
  --foreground: oklch(0.992 0.001 344.319);
  --muted: oklch(0.258 0.034 347.439);
  --muted-foreground: oklch(0.696 0.029 345.312);
  --popover: oklch(0.109 0.015 344.182);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.109 0.015 344.182);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.222 0.01 345.437);
  --input: oklch(0.222 0.01 345.437);
  --primary: oklch(0.584 0.219 355.848);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.307 0.01 345.09);
  --secondary-foreground: oklch(0.833 0.008 344.544);
  --accent: oklch(0.367 0.035 346.563);
  --accent-foreground: oklch(0.886 0.015 344.709);
  --destructive: oklch(0.596 0.188 37.51);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.584 0.219 355.848);
  --chart-1: oklch(0.584 0.219 355.848);
  --chart-2: oklch(0.307 0.01 345.09);
  --chart-3: oklch(0.367 0.035 346.563);
  --chart-4: oklch(0.336 0.011 345.115);
  --chart-5: oklch(0.588 0.224 356.398);
}