Pastel Queen for shadcn/ui

Pastel Queen is a shadcn/ui theme built around a vivid light orange primary color (#f9ca94) with near-white accents (#f4f4f5). The light mode uses an orange-tinted background (#fff7ed). Dark mode keeps the vivid light orange primary (#f9ca94) on an indigo-tinted background (#09090b).

Color palette

TokenLightDark
Background
#fff7edseashell
#09090bblack
Foreground
#292524darkslategray
#fafafasnow
Card
#ffffffwhite
#09090bblack
Card foreground
#292524darkslategray
#fafafasnow
Popover
#ffffffwhite
#09090bblack
Popover foreground
#292524darkslategray
#fafafasnow
Primary
#f9ca94khaki
#f9ca94khaki
Primary foreground
#292524darkslategray
#292524darkslategray
Secondary
#f3e4eelinen
#f3e4eelinen
Secondary foreground
#292524darkslategray
#292524darkslategray
Muted
#f4f4f5whitesmoke
#27272adarkslategray
Muted foreground
#71717adimgray
#a1a1aadarkgray
Accent
#f4f4f5whitesmoke
#27272adarkslategray
Accent foreground
#292524darkslategray
#fafafasnow
Destructive
#ef4444tomato
#ef4444tomato
Destructive foreground
#fafafasnow
#fafafasnow
Border
#e4e4e7gainsboro
#27272adarkslategray
Input
#e4e4e7gainsboro
#27272adarkslategray
Ring
#292524darkslategray
#d4d4d8lightgrey

Contrast

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

Light mode
Text on background14.28:1AAA
Text on card15.16:1AAA
Primary button10.04:1AAA
Secondary button12.38:1AAA
Muted text4.39:1AA Large
Accent13.80:1AAA
Destructive3.60:1AA Large
Dark mode
Text on background19.06:1AAA
Text on card19.06:1AAA
Primary button10.04:1AAA
Secondary button12.38:1AAA
Muted text5.80:1AA
Accent14.26:1AAA
Destructive3.60:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.016 73.678);
  --foreground: oklch(0.269 0.006 34.297);
  --muted: oklch(0.968 0.001 286.375);
  --muted-foreground: oklch(0.552 0.014 285.942);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.269 0.006 34.297);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.269 0.006 34.297);
  --border: oklch(0.92 0.004 286.32);
  --input: oklch(0.92 0.004 286.32);
  --primary: oklch(0.868 0.088 70.149);
  --primary-foreground: oklch(0.269 0.006 34.297);
  --secondary: oklch(0.934 0.021 337.711);
  --secondary-foreground: oklch(0.269 0.006 34.297);
  --accent: oklch(0.968 0.001 286.375);
  --accent-foreground: oklch(0.269 0.006 34.297);
  --destructive: oklch(0.637 0.208 25.33);
  --destructive-foreground: oklch(0.985 0 170.538);
  --ring: oklch(0.269 0.006 34.297);
  --chart-1: oklch(0.868 0.088 70.149);
  --chart-2: oklch(0.934 0.021 337.711);
  --chart-3: oklch(0.968 0.001 286.375);
  --chart-4: oklch(0.96 0.013 337.529);
  --chart-5: oklch(0.869 0.09 70.075);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.141 0.004 285.824);
  --foreground: oklch(0.985 0 180);
  --muted: oklch(0.274 0.005 286.033);
  --muted-foreground: oklch(0.712 0.013 286.068);
  --popover: oklch(0.141 0.004 285.824);
  --popover-foreground: oklch(0.985 0 180);
  --card: oklch(0.141 0.004 285.824);
  --card-foreground: oklch(0.985 0 180);
  --border: oklch(0.274 0.005 286.033);
  --input: oklch(0.274 0.005 286.033);
  --primary: oklch(0.868 0.088 70.149);
  --primary-foreground: oklch(0.269 0.006 34.297);
  --secondary: oklch(0.934 0.021 337.711);
  --secondary-foreground: oklch(0.269 0.006 34.297);
  --accent: oklch(0.274 0.005 286.033);
  --accent-foreground: oklch(0.985 0 180);
  --destructive: oklch(0.637 0.208 25.33);
  --destructive-foreground: oklch(0.985 0 180);
  --ring: oklch(0.871 0.005 286.285);
  --chart-1: oklch(0.868 0.088 70.149);
  --chart-2: oklch(0.934 0.021 337.711);
  --chart-3: oklch(0.274 0.005 286.033);
  --chart-4: oklch(0.96 0.013 337.529);
  --chart-5: oklch(0.869 0.09 70.075);
}