Experienced for shadcn/ui

Experienced is a shadcn/ui theme built around a muted pink primary color (#9e7088) with muted blue accents (#70889e). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#9e7088) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#f9f6f7whitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#000000black
#f9f6f7whitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#f9f6f7whitesmoke
Primary
#9e7088gray
#9e7088gray
Primary foreground
#000000black
#000000black
Secondary
#889e70gray
#889e70gray
Secondary foreground
#000000black
#000000black
Muted
#edf3e8linen
#12170cblack
Muted foreground
#454842darkslategray
#babdb7silver
Accent
#70889elightslategray
#70889elightslategray
Accent foreground
#000000black
#000000black
Destructive
#b53f0dfirebrick
#ea5110orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#9e7088gray
#9e7088gray

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 button5.14:1AA
Secondary button7.16:1AAA
Muted text8.20:1AAA
Accent5.70:1AA
Destructive5.69:1AA
Dark mode
Text on background19.55:1AAA
Text on card19.55:1AAA
Primary button5.14:1AA
Secondary button7.16:1AAA
Muted text9.56:1AAA
Accent5.70:1AA
Destructive3.69:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.956 0.015 127.976);
  --muted-foreground: oklch(0.396 0.01 128.08);
  --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.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.6 0.066 346.917);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.67 0.069 129.084);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.616 0.043 246.771);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.53 0.162 39.241);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.6 0.066 346.917);
  --chart-1: oklch(0.6 0.066 346.917);
  --chart-2: oklch(0.67 0.069 129.084);
  --chart-3: oklch(0.616 0.043 246.771);
  --chart-4: oklch(0.692 0.064 128.946);
  --chart-5: oklch(0.598 0.076 347.332);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.975 0.004 344.382);
  --muted: oklch(0.196 0.022 129.211);
  --muted-foreground: oklch(0.794 0.008 127.91);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.975 0.004 344.382);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.975 0.004 344.382);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.6 0.066 346.917);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.67 0.069 129.084);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.616 0.043 246.771);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.638 0.199 38.861);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.6 0.066 346.917);
  --chart-1: oklch(0.6 0.066 346.917);
  --chart-2: oklch(0.67 0.069 129.084);
  --chart-3: oklch(0.616 0.043 246.771);
  --chart-4: oklch(0.692 0.064 128.946);
  --chart-5: oklch(0.598 0.076 347.332);
}