Easy Rose Garnet for shadcn/ui

Easy Rose Garnet is a shadcn/ui theme built around a vivid pink primary color (#910d46) with vivid blue accents (#0d4691). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#910d46) on a neutral background (#070405).

Color palette

TokenLightDark
Background
#ffffffwhite
#070405black
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#070405black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#070405black
Popover foreground
#000000black
#ffffffwhite
Primary
#910d46brown
#910d46brown
Primary foreground
#fbd5e5mistyrose
#fbd5e5mistyrose
Secondary
#46910dforestgreen
#46910dforestgreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eff2eewhitesmoke
#0f110dblack
Muted foreground
#4c5346darkslategray
#b2b9acdarkgray
Accent
#0d4691midnightblue
#0d4691midnightblue
Accent foreground
#d5e5fblavender
#d5e5fblavender
Destructive
#d42511firebrick
#ef4734tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#ece9ealinen
#1b1819black
Input
#ece9ealinen
#1b1819black
Ring
#910d46brown
#910d46brown

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.68:1AA
Secondary button3.92:1AA Large
Muted text7.05:1AAA
Accent7.11:1AAA
Destructive5.15:1AA
Dark mode
Text on background20.46:1AAA
Text on card20.46:1AAA
Primary button6.68:1AA
Secondary button3.92:1AA Large
Muted text9.40:1AAA
Accent7.11:1AAA
Destructive3.74:1AA Large

CSS variables

Paste this into your globals.css to use Easy Rose Garnet in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.957 0.006 131.137);
  --muted-foreground: oklch(0.432 0.024 131.592);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.937 0.003 348.822);
  --input: oklch(0.937 0.003 348.822);
  --primary: oklch(0.43 0.165 3.371);
  --primary-foreground: oklch(0.91 0.048 350.144);
  --secondary: oklch(0.587 0.171 136.312);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.407 0.137 257.726);
  --accent-foreground: oklch(0.918 0.035 255.126);
  --destructive: oklch(0.561 0.211 30.51);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.43 0.165 3.371);
  --chart-1: oklch(0.43 0.165 3.371);
  --chart-2: oklch(0.587 0.171 136.312);
  --chart-3: oklch(0.407 0.137 257.726);
  --chart-4: oklch(0.627 0.183 136.389);
  --chart-5: oklch(0.433 0.168 3.993);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.111 0.01 348.568);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.175 0.009 131.537);
  --muted-foreground: oklch(0.777 0.021 131.324);
  --popover: oklch(0.111 0.01 348.568);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.111 0.01 348.568);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.213 0.005 349.429);
  --input: oklch(0.213 0.005 349.429);
  --primary: oklch(0.43 0.165 3.371);
  --primary-foreground: oklch(0.91 0.048 350.144);
  --secondary: oklch(0.587 0.171 136.312);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.407 0.137 257.726);
  --accent-foreground: oklch(0.918 0.035 255.126);
  --destructive: oklch(0.637 0.207 30.074);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.43 0.165 3.371);
  --chart-1: oklch(0.43 0.165 3.371);
  --chart-2: oklch(0.587 0.171 136.312);
  --chart-3: oklch(0.407 0.137 257.726);
  --chart-4: oklch(0.627 0.183 136.389);
  --chart-5: oklch(0.433 0.168 3.993);
}