Experienced for shadcn/ui

Experienced is a shadcn/ui theme built around a muted pink primary color (#987685) with muted light pink accents (#e0d6db). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted pink primary (#987685) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefbfcsnow
#000000black
Foreground
#13060cblack
#ffffffwhite
Card
#fcf8fasnow
#030303black
Card foreground
#100509black
#ffffffwhite
Popover
#fcf8fasnow
#030303black
Popover foreground
#100509black
#ffffffwhite
Primary
#987685gray
#987685gray
Primary foreground
#000000black
#000000black
Secondary
#e0d6dbgainsboro
#362b30darkslategray
Secondary foreground
#4c3941darkslategray
#d0c3c9thistle
Muted
#e1dbddgainsboro
#241e21black
Muted foreground
#615c5edimgray
#a39ea0darkgray
Accent
#e0d6dbgainsboro
#362b30darkslategray
Accent foreground
#4c3941darkslategray
#d0c3c9thistle
Destructive
#9b2e03saddlebrown
#fa5514orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#987685gray
#987685gray

Contrast

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

Light mode
Text on background19.30:1AAA
Text on card19.00:1AAA
Primary button5.28:1AA
Secondary button7.54:1AAA
Muted text4.79:1AA
Accent7.54:1AAA
Destructive7.53:1AAA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button5.28:1AA
Secondary button8.00:1AAA
Muted text6.20:1AA
Accent8.00:1AAA
Destructive3.28:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 348.807);
  --foreground: oklch(0.148 0.027 352.181);
  --muted: oklch(0.896 0.008 348.986);
  --muted-foreground: oklch(0.479 0.008 349.203);
  --popover: oklch(0.982 0.005 348.883);
  --popover-foreground: oklch(0.136 0.024 350.292);
  --card: oklch(0.982 0.005 348.883);
  --card-foreground: oklch(0.136 0.024 350.292);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.604 0.046 350.763);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.886 0.012 349.118);
  --secondary-foreground: oklch(0.368 0.029 350.819);
  --accent: oklch(0.886 0.012 349.118);
  --accent-foreground: oklch(0.368 0.029 350.819);
  --destructive: oklch(0.464 0.151 37.532);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.604 0.046 350.763);
  --chart-1: oklch(0.604 0.046 350.763);
  --chart-2: oklch(0.886 0.012 349.118);
  --chart-3: oklch(0.886 0.012 349.118);
  --chart-4: oklch(0.911 0.01 349.026);
  --chart-5: oklch(0.601 0.057 351.202);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.243 0.011 349.998);
  --muted-foreground: oklch(0.704 0.007 349.025);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.604 0.046 350.763);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.303 0.019 350.411);
  --secondary-foreground: oklch(0.829 0.016 349.269);
  --accent: oklch(0.303 0.019 350.411);
  --accent-foreground: oklch(0.829 0.016 349.269);
  --destructive: oklch(0.669 0.211 38.035);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.604 0.046 350.763);
  --chart-1: oklch(0.604 0.046 350.763);
  --chart-2: oklch(0.303 0.019 350.411);
  --chart-3: oklch(0.303 0.019 350.411);
  --chart-4: oklch(0.332 0.022 350.464);
  --chart-5: oklch(0.601 0.057 351.202);
}