Beautiful for shadcn/ui

Beautiful is a shadcn/ui theme built around a muted orange primary color (#b39475) with muted violet accents (#9475b3). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the muted orange primary (#b39475) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#fcfaf8snow
#030302black
Foreground
#000000black
#fcfaf8snow
Card
#fcfaf8snow
#030302black
Card foreground
#000000black
#fcfaf8snow
Popover
#fcfaf8snow
#030302black
Popover foreground
#000000black
#fcfaf8snow
Primary
#b39475rosybrown
#b39475rosybrown
Primary foreground
#000000black
#000000black
Secondary
#75b394darkseagreen
#75b394darkseagreen
Secondary foreground
#000000black
#000000black
Muted
#dceae3gainsboro
#15231cblack
Muted foreground
#506259dimgray
#9dafa6darkgray
Accent
#9475b3mediumpurple
#9475b3mediumpurple
Accent foreground
#000000black
#000000black
Destructive
#862404darkred
#e43e07orangered
Destructive foreground
#fdcebfpeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b39475rosybrown
#b39475rosybrown

Contrast

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

Light mode
Text on background20.15:1AAA
Text on card20.15:1AAA
Primary button7.40:1AAA
Secondary button8.62:1AAA
Muted text5.24:1AA
Accent5.44:1AA
Destructive6.51:1AA
Dark mode
Text on background19.84:1AAA
Text on card19.84:1AAA
Primary button7.40:1AAA
Secondary button8.62:1AAA
Muted text7.05:1AAA
Accent5.44:1AA
Destructive4.21:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 67.782);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.925 0.018 164.615);
  --muted-foreground: oklch(0.479 0.026 163.631);
  --popover: oklch(0.986 0.004 67.782);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.986 0.004 67.782);
  --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.687 0.057 66.633);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.715 0.079 161.783);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.615 0.098 306.657);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.414 0.137 36.276);
  --destructive-foreground: oklch(0.889 0.057 39.255);
  --ring: oklch(0.687 0.057 66.633);
  --chart-1: oklch(0.687 0.057 66.633);
  --chart-2: oklch(0.715 0.079 161.783);
  --chart-3: oklch(0.615 0.098 306.657);
  --chart-4: oklch(0.736 0.073 162.164);
  --chart-5: oklch(0.689 0.063 66.468);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.094 0.006 72.906);
  --foreground: oklch(0.986 0.003 67.789);
  --muted: oklch(0.242 0.025 162.107);
  --muted-foreground: oklch(0.736 0.024 164.275);
  --popover: oklch(0.094 0.006 72.906);
  --popover-foreground: oklch(0.986 0.003 67.789);
  --card: oklch(0.094 0.006 72.906);
  --card-foreground: oklch(0.986 0.003 67.789);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.687 0.057 66.633);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.715 0.079 161.783);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.615 0.098 306.657);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.607 0.209 35.251);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.687 0.057 66.633);
  --chart-1: oklch(0.687 0.057 66.633);
  --chart-2: oklch(0.715 0.079 161.783);
  --chart-3: oklch(0.615 0.098 306.657);
  --chart-4: oklch(0.736 0.073 162.164);
  --chart-5: oklch(0.689 0.063 66.468);
}