Scow for shadcn/ui

Scow is a shadcn/ui theme built around a deep pink primary color (#1a040f) with deep teal accents (#041a10). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the deep pink primary (#1a040f) on a pink-tinted background (#10040a).

Color palette

TokenLightDark
Background
#fcf8fasnow
#10040ablack
Foreground
#14060dblack
#faf5f7whitesmoke
Card
#faf5f7whitesmoke
#14050dblack
Card foreground
#10050ablack
#fcf8fasnow
Popover
#faf5f7whitesmoke
#14050dblack
Popover foreground
#10050ablack
#fcf8fasnow
Primary
#1a040fblack
#1a040fblack
Primary foreground
#e66ba6palevioletred
#e66ba6palevioletred
Secondary
#041a10black
#041a10black
Secondary foreground
#22c978mediumseagreen
#22c978mediumseagreen
Muted
#d6e1dbgainsboro
#1e2924darkslategray
Muted foreground
#4b5d54darkslategray
#a2b4abdarkgray
Accent
#041a10black
#041a10black
Accent foreground
#22c978mediumseagreen
#22c978mediumseagreen
Destructive
#913a08saddlebrown
#f4742atomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1a040fblack
#1a040fblack

Contrast

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

Light mode
Text on background18.79:1AAA
Text on card18.55:1AAA
Primary button6.55:1AA
Secondary button8.34:1AAA
Muted text5.22:1AA
Accent8.34:1AAA
Destructive7.44:1AAA
Dark mode
Text on background18.62:1AAA
Text on card18.83:1AAA
Primary button6.55:1AA
Secondary button8.34:1AAA
Muted text6.87:1AA
Accent8.34:1AAA
Destructive7.36:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 346.13);
  --foreground: oklch(0.148 0.029 349.548);
  --muted: oklch(0.9 0.014 165.586);
  --muted-foreground: oklch(0.461 0.027 164.353);
  --popover: oklch(0.974 0.006 346.188);
  --popover-foreground: oklch(0.136 0.026 347.806);
  --card: oklch(0.974 0.006 346.188);
  --card-foreground: oklch(0.136 0.026 347.806);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.158 0.044 351.507);
  --primary-foreground: oklch(0.691 0.165 352.058);
  --secondary: oklch(0.197 0.036 160.421);
  --secondary-foreground: oklch(0.736 0.173 155.307);
  --accent: oklch(0.197 0.036 160.421);
  --accent-foreground: oklch(0.736 0.173 155.307);
  --destructive: oklch(0.463 0.13 43.992);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.158 0.044 351.507);
  --chart-1: oklch(0.158 0.044 351.507);
  --chart-2: oklch(0.197 0.036 160.421);
  --chart-3: oklch(0.197 0.036 160.421);
  --chart-4: oklch(0.245 0.049 158.511);
  --chart-5: oklch(0.158 0.046 351.647);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.135 0.028 347.915);
  --foreground: oklch(0.974 0.007 346.203);
  --muted: oklch(0.27 0.019 163.989);
  --muted-foreground: oklch(0.753 0.024 165.134);
  --popover: oklch(0.147 0.032 349.701);
  --popover-foreground: oklch(0.983 0.005 346.14);
  --card: oklch(0.147 0.032 349.701);
  --card-foreground: oklch(0.983 0.005 346.14);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.158 0.044 351.507);
  --primary-foreground: oklch(0.691 0.165 352.058);
  --secondary: oklch(0.197 0.036 160.421);
  --secondary-foreground: oklch(0.736 0.173 155.307);
  --accent: oklch(0.197 0.036 160.421);
  --accent-foreground: oklch(0.736 0.173 155.307);
  --destructive: oklch(0.7 0.177 46.312);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.158 0.044 351.507);
  --chart-1: oklch(0.158 0.044 351.507);
  --chart-2: oklch(0.197 0.036 160.421);
  --chart-3: oklch(0.197 0.036 160.421);
  --chart-4: oklch(0.245 0.049 158.511);
  --chart-5: oklch(0.158 0.046 351.647);
}