Raincoat for shadcn/ui

Raincoat is a shadcn/ui theme built around a deep pink primary color (#200814) with deep teal accents (#082015). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the deep pink primary (#200814) on a pink-tinted background (#0b0507).

Color palette

TokenLightDark
Background
#fcf8fasnow
#0b0507black
Foreground
#040102black
#fbf9fasnow
Card
#faf4f7whitesmoke
#0e060ablack
Card foreground
#000000black
#fdfcfcsnow
Popover
#faf4f7whitesmoke
#0e060ablack
Popover foreground
#000000black
#fdfcfcsnow
Primary
#200814black
#200814black
Primary foreground
#de7daapalevioletred
#de7daapalevioletred
Secondary
#082015black
#082015black
Secondary foreground
#32c37fmediumseagreen
#32c37fmediumseagreen
Muted
#eff5f2whitesmoke
#0a100dblack
Muted foreground
#42524adarkslategray
#adbdb6silver
Accent
#082015black
#082015black
Accent foreground
#32c37fmediumseagreen
#32c37fmediumseagreen
Destructive
#bf160dfirebrick
#f13b32crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#200814black
#200814black

Contrast

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

Light mode
Text on background19.71:1AAA
Text on card19.39:1AAA
Primary button6.87:1AA
Secondary button7.49:1AAA
Muted text7.51:1AAA
Accent7.49:1AAA
Destructive6.30:1AA
Dark mode
Text on background19.31:1AAA
Text on card19.52:1AAA
Primary button6.87:1AA
Secondary button7.49:1AAA
Muted text9.83:1AAA
Accent7.49:1AAA
Destructive3.87:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 347.048);
  --foreground: oklch(0.084 0.017 346.611);
  --muted: oklch(0.966 0.007 166.695);
  --muted-foreground: oklch(0.422 0.024 165.264);
  --popover: oklch(0.973 0.008 347.12);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.973 0.008 347.12);
  --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.182 0.045 353.183);
  --primary-foreground: oklch(0.709 0.13 351.52);
  --secondary: oklch(0.222 0.038 160.79);
  --secondary-foreground: oklch(0.725 0.155 157.736);
  --accent: oklch(0.222 0.038 160.79);
  --accent-foreground: oklch(0.725 0.155 157.736);
  --destructive: oklch(0.512 0.2 29.39);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.182 0.045 353.183);
  --chart-1: oklch(0.182 0.045 353.183);
  --chart-2: oklch(0.222 0.038 160.79);
  --chart-3: oklch(0.222 0.038 160.79);
  --chart-4: oklch(0.266 0.048 159.985);
  --chart-5: oklch(0.182 0.047 353.46);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.015 346.761);
  --foreground: oklch(0.983 0.003 346.993);
  --muted: oklch(0.164 0.011 164.879);
  --muted-foreground: oklch(0.784 0.021 166.166);
  --popover: oklch(0.138 0.018 348.222);
  --popover-foreground: oklch(0.992 0.002 346.949);
  --card: oklch(0.138 0.018 348.222);
  --card-foreground: oklch(0.992 0.002 346.949);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.182 0.045 353.183);
  --primary-foreground: oklch(0.709 0.13 351.52);
  --secondary: oklch(0.222 0.038 160.79);
  --secondary-foreground: oklch(0.725 0.155 157.736);
  --accent: oklch(0.222 0.038 160.79);
  --accent-foreground: oklch(0.725 0.155 157.736);
  --destructive: oklch(0.63 0.219 28.304);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.182 0.045 353.183);
  --chart-1: oklch(0.182 0.045 353.183);
  --chart-2: oklch(0.222 0.038 160.79);
  --chart-3: oklch(0.222 0.038 160.79);
  --chart-4: oklch(0.266 0.048 159.985);
  --chart-5: oklch(0.182 0.047 353.46);
}