Used for shadcn/ui

Used is a shadcn/ui theme built around a deep orange primary color (#61371f) with deep blue accents (#1f4961). The light mode uses a neutral background (#fefcfb). Dark mode keeps the deep orange primary (#61371f) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefcfbsnow
#000000black
Foreground
#080402black
#faf7f4whitesmoke
Card
#fefcfbsnow
#000000black
Card foreground
#080402black
#faf7f4whitesmoke
Popover
#fefcfbsnow
#000000black
Popover foreground
#080402black
#faf7f4whitesmoke
Primary
#61371fsaddlebrown
#61371fsaddlebrown
Primary foreground
#edd3c5wheat
#edd3c5wheat
Secondary
#1f4961darkslategray
#1f4961darkslategray
Secondary foreground
#c5deedpowderblue
#c5deedpowderblue
Muted
#e6eceflavender
#101619black
Muted foreground
#606162dimgray
#9d9e9fdarkgray
Accent
#1f4961darkslategray
#1f4961darkslategray
Accent foreground
#c5deedpowderblue
#c5deedpowderblue
Destructive
#5d0b09maroon
#da1916crimson
Destructive foreground
#f6a4a2lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#61371fsaddlebrown
#61371fsaddlebrown

Contrast

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

Light mode
Text on background19.96:1AAA
Text on card19.96:1AAA
Primary button7.10:1AAA
Secondary button6.92:1AA
Muted text5.19:1AA
Accent6.92:1AA
Destructive7.10:1AAA
Dark mode
Text on background19.67:1AAA
Text on card19.67:1AAA
Primary button7.10:1AAA
Secondary button6.92:1AA
Muted text6.82:1AA
Accent6.92:1AA
Destructive5.07:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 52.547);
  --foreground: oklch(0.115 0.013 61.46);
  --muted: oklch(0.939 0.007 232.688);
  --muted-foreground: oklch(0.492 0.002 232.634);
  --popover: oklch(0.992 0.002 52.547);
  --popover-foreground: oklch(0.115 0.013 61.46);
  --card: oklch(0.992 0.002 52.547);
  --card-foreground: oklch(0.115 0.013 61.46);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.383 0.07 49.559);
  --primary-foreground: oklch(0.885 0.034 52.077);
  --secondary: oklch(0.386 0.062 236.901);
  --secondary-foreground: oklch(0.887 0.034 233.159);
  --accent: oklch(0.386 0.062 236.901);
  --accent-foreground: oklch(0.887 0.034 233.159);
  --destructive: oklch(0.309 0.114 27.821);
  --destructive-foreground: oklch(0.798 0.098 20.546);
  --ring: oklch(0.383 0.07 49.559);
  --chart-1: oklch(0.383 0.07 49.559);
  --chart-2: oklch(0.386 0.062 236.901);
  --chart-3: oklch(0.386 0.062 236.901);
  --chart-4: oklch(0.416 0.068 237.027);
  --chart-5: oklch(0.385 0.074 49.274);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.977 0.005 52.508);
  --muted: oklch(0.194 0.01 233.453);
  --muted-foreground: oklch(0.7 0.002 232.615);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.977 0.005 52.508);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.977 0.005 52.508);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.383 0.07 49.559);
  --primary-foreground: oklch(0.885 0.034 52.077);
  --secondary: oklch(0.386 0.062 236.901);
  --secondary-foreground: oklch(0.887 0.034 233.159);
  --accent: oklch(0.386 0.062 236.901);
  --accent-foreground: oklch(0.887 0.034 233.159);
  --destructive: oklch(0.566 0.221 28.644);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.383 0.07 49.559);
  --chart-1: oklch(0.383 0.07 49.559);
  --chart-2: oklch(0.386 0.062 236.901);
  --chart-3: oklch(0.386 0.062 236.901);
  --chart-4: oklch(0.416 0.068 237.027);
  --chart-5: oklch(0.385 0.074 49.274);
}