Hound for shadcn/ui

Hound is a shadcn/ui theme built around a muted pink primary color (#5a494e) with muted light pink accents (#e2dadc). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the muted pink primary (#5a494e) on a pink-tinted background (#0a0506).

Color palette

TokenLightDark
Background
#fcf8f9snow
#0a0506black
Foreground
#160308black
#ffffffwhite
Card
#faf5f6whitesmoke
#0e0709black
Card foreground
#120307black
#ffffffwhite
Popover
#fcf8f9snow
#0a0506black
Popover foreground
#160308black
#ffffffwhite
Primary
#5a494edarkslategray
#5a494edarkslategray
Primary foreground
#ede9ealinen
#ede9ealinen
Secondary
#ece9ealinen
#312b2cdarkslategray
Secondary foreground
#564d4fdarkslategray
#cbc3c5silver
Muted
#f0dbe1mistyrose
#240f15black
Muted foreground
#5a444adarkslategray
#bba5abdarkgray
Accent
#e2dadcgainsboro
#523d42darkslategray
Accent foreground
#4e3c41darkslategray
#e5dcdegainsboro
Destructive
#682b08saddlebrown
#ee6517chocolate
Destructive foreground
#f9c7aanavajowhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#5a494edarkslategray
#5a494edarkslategray

Contrast

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

Light mode
Text on background18.98:1AAA
Text on card18.65:1AAA
Primary button6.96:1AA
Secondary button6.78:1AA
Muted text6.75:1AA
Accent7.45:1AAA
Destructive7.08:1AAA
Dark mode
Text on background20.23:1AAA
Text on card19.98:1AAA
Primary button6.96:1AA
Secondary button8.05:1AAA
Muted text7.86:1AAA
Accent7.43:1AAA
Destructive6.50:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.004 358.893);
  --foreground: oklch(0.143 0.04 2.476);
  --muted: oklch(0.91 0.024 359.51);
  --muted-foreground: oklch(0.412 0.032 0.895);
  --popover: oklch(0.983 0.004 358.893);
  --popover-foreground: oklch(0.143 0.04 2.476);
  --card: oklch(0.974 0.006 358.95);
  --card-foreground: oklch(0.13 0.035 0.651);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.425 0.023 0.282);
  --primary-foreground: oklch(0.936 0.005 358.925);
  --secondary: oklch(0.937 0.003 358.868);
  --secondary-foreground: oklch(0.43 0.014 359.674);
  --accent: oklch(0.894 0.01 359.098);
  --accent-foreground: oklch(0.377 0.026 0.695);
  --destructive: oklch(0.371 0.098 45.512);
  --destructive-foreground: oklch(0.865 0.069 51.561);
  --ring: oklch(0.425 0.023 0.282);
  --chart-1: oklch(0.425 0.023 0.282);
  --chart-2: oklch(0.937 0.003 358.868);
  --chart-3: oklch(0.894 0.01 359.098);
  --chart-4: oklch(0.961 0.002 358.835);
  --chart-5: oklch(0.422 0.03 0.748);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.013 358.695);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.202 0.035 3.623);
  --muted-foreground: oklch(0.742 0.027 359.799);
  --popover: oklch(0.125 0.013 358.695);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.014 359.682);
  --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.425 0.023 0.282);
  --primary-foreground: oklch(0.936 0.005 358.925);
  --secondary: oklch(0.295 0.01 359.716);
  --secondary-foreground: oklch(0.824 0.009 359.101);
  --accent: oklch(0.384 0.031 1.015);
  --accent-foreground: oklch(0.902 0.011 359.115);
  --destructive: oklch(0.669 0.186 44.278);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.425 0.023 0.282);
  --chart-1: oklch(0.425 0.023 0.282);
  --chart-2: oklch(0.295 0.01 359.716);
  --chart-3: oklch(0.384 0.031 1.015);
  --chart-4: oklch(0.325 0.011 359.749);
  --chart-5: oklch(0.422 0.03 0.748);
}