Sole Patchwork Pink for shadcn/ui

Sole Patchwork Pink is a shadcn/ui theme built around a muted orange primary color (#c2a89e) with muted yellow accents (#c2ba9e). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted orange primary (#c2a89e) on an orange-tinted background (#100804).

Color palette

TokenLightDark
Background
#fefcfbsnow
#100804black
Foreground
#040201black
#fdfcfcsnow
Card
#fefcfbsnow
#100804black
Card foreground
#040201black
#fdfcfcsnow
Popover
#fefcfbsnow
#100804black
Popover foreground
#040201black
#fdfcfcsnow
Primary
#c2a89etan
#c2a89etan
Primary foreground
#1c1512black
#1c1512black
Secondary
#c29ea6darkgray
#c29ea6darkgray
Secondary foreground
#1c1214black
#1c1214black
Muted
#eae6e7linen
#191516black
Muted foreground
#675f61dimgray
#a09899darkgray
Accent
#c2ba9etan
#c2ba9etan
Accent foreground
#1c1a12black
#1c1a12black
Destructive
#ac3311firebrick
#ed6a45tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#ebe7e5linen
#28221fblack
Input
#ebe7e5linen
#28221fblack
Ring
#c2a89etan
#c2a89etan

Contrast

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

Light mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button8.06:1AAA
Secondary button7.60:1AAA
Muted text5.01:1AA
Accent8.98:1AAA
Destructive6.52:1AA
Dark mode
Text on background19.39:1AAA
Text on card19.39:1AAA
Primary button8.06:1AAA
Secondary button7.60:1AAA
Muted text6.42:1AA
Accent8.98:1AAA
Destructive6.72:1AA

CSS variables

Paste this into your globals.css to use Sole Patchwork Pink in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 43.107);
  --foreground: oklch(0.09 0.01 50.761);
  --muted: oklch(0.928 0.005 2.204);
  --muted-foreground: oklch(0.495 0.011 2.645);
  --popover: oklch(0.992 0.003 43.107);
  --popover-foreground: oklch(0.09 0.01 50.761);
  --card: oklch(0.992 0.003 43.107);
  --card-foreground: oklch(0.09 0.01 50.761);
  --border: oklch(0.93 0.005 43.083);
  --input: oklch(0.93 0.005 43.083);
  --primary: oklch(0.752 0.034 42.789);
  --primary-foreground: oklch(0.203 0.014 42.665);
  --secondary: oklch(0.734 0.044 3.685);
  --secondary-foreground: oklch(0.196 0.018 4.533);
  --accent: oklch(0.789 0.04 94.324);
  --accent-foreground: oklch(0.217 0.016 94.444);
  --destructive: oklch(0.499 0.163 35.141);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.752 0.034 42.789);
  --chart-1: oklch(0.752 0.034 42.789);
  --chart-2: oklch(0.734 0.044 3.685);
  --chart-3: oklch(0.789 0.04 94.324);
  --chart-4: oklch(0.76 0.04 3.464);
  --chart-5: oklch(0.751 0.038 42.754);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.144 0.019 48.873);
  --foreground: oklch(0.992 0.001 43.119);
  --muted: oklch(0.201 0.007 2.996);
  --muted-foreground: oklch(0.686 0.01 2.452);
  --popover: oklch(0.144 0.019 48.873);
  --popover-foreground: oklch(0.992 0.001 43.119);
  --card: oklch(0.144 0.019 48.873);
  --card-foreground: oklch(0.992 0.001 43.119);
  --border: oklch(0.257 0.01 42.817);
  --input: oklch(0.257 0.01 42.817);
  --primary: oklch(0.752 0.034 42.789);
  --primary-foreground: oklch(0.203 0.014 42.665);
  --secondary: oklch(0.734 0.044 3.685);
  --secondary-foreground: oklch(0.196 0.018 4.533);
  --accent: oklch(0.789 0.04 94.324);
  --accent-foreground: oklch(0.217 0.016 94.444);
  --destructive: oklch(0.677 0.17 36.329);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.752 0.034 42.789);
  --chart-1: oklch(0.752 0.034 42.789);
  --chart-2: oklch(0.734 0.044 3.685);
  --chart-3: oklch(0.789 0.04 94.324);
  --chart-4: oklch(0.76 0.04 3.464);
  --chart-5: oklch(0.751 0.038 42.754);
}