First for shadcn/ui

First is a shadcn/ui theme built around a muted light pink primary color (#dec4cd) with muted light teal accents (#c4ded6). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light pink primary (#dec4cd) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#040102black
#fdfcfcsnow
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#040102black
#fdfcfcsnow
Primary
#dec4cdthistle
#dec4cdthistle
Primary foreground
#482833darkslategray
#482833darkslategray
Secondary
#c4ded6lightgrey
#c4ded6lightgrey
Secondary foreground
#28483edarkslategray
#28483edarkslategray
Muted
#d6e5e0gainsboro
#1a2924black
Muted foreground
#394642darkslategray
#b9c6c1silver
Accent
#c4ded6lightgrey
#c4ded6lightgrey
Accent foreground
#28483edarkslategray
#28483edarkslategray
Destructive
#831502maroon
#fb2d09orangered
Destructive foreground
#fec3b9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dec4cdthistle
#dec4cdthistle

Contrast

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

Light mode
Text on background20.78:1AAA
Text on card20.54:1AAA
Primary button7.91:1AAA
Secondary button7.09:1AAA
Muted text7.61:1AAA
Accent7.09:1AAA
Destructive6.63:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.67:1AAA
Primary button7.91:1AAA
Secondary button7.09:1AAA
Muted text8.61:1AAA
Accent7.09:1AAA
Destructive3.82:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.085 0.013 354.28);
  --muted: oklch(0.91 0.018 174.013);
  --muted-foreground: oklch(0.382 0.018 173.138);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.085 0.013 354.28);
  --card: oklch(0.992 0 161.565);
  --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.845 0.032 355.662);
  --primary-foreground: oklch(0.322 0.051 358.938);
  --secondary: oklch(0.88 0.031 173.53);
  --secondary-foreground: oklch(0.374 0.043 170.533);
  --accent: oklch(0.88 0.031 173.53);
  --accent-foreground: oklch(0.374 0.043 170.533);
  --destructive: oklch(0.394 0.146 32.216);
  --destructive-foreground: oklch(0.867 0.07 29.969);
  --ring: oklch(0.845 0.032 355.662);
  --chart-1: oklch(0.845 0.032 355.662);
  --chart-2: oklch(0.88 0.031 173.53);
  --chart-3: oklch(0.88 0.031 173.53);
  --chart-4: oklch(0.9 0.026 173.734);
  --chart-5: oklch(0.843 0.036 355.775);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 354.613);
  --muted: oklch(0.264 0.023 171.749);
  --muted-foreground: oklch(0.814 0.015 174.035);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 354.613);
  --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.845 0.032 355.662);
  --primary-foreground: oklch(0.322 0.051 358.938);
  --secondary: oklch(0.88 0.031 173.53);
  --secondary-foreground: oklch(0.374 0.043 170.533);
  --accent: oklch(0.88 0.031 173.53);
  --accent-foreground: oklch(0.374 0.043 170.533);
  --destructive: oklch(0.636 0.241 31.519);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.845 0.032 355.662);
  --chart-1: oklch(0.845 0.032 355.662);
  --chart-2: oklch(0.88 0.031 173.53);
  --chart-3: oklch(0.88 0.031 173.53);
  --chart-4: oklch(0.9 0.026 173.734);
  --chart-5: oklch(0.843 0.036 355.775);
}