Native Hue of Resolution Coral for shadcn/ui

Native Hue of Resolution Coral is a shadcn/ui theme built around a vivid orange primary color (#cf3902) with vivid cyan accents (#0298cf). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the vivid orange primary (#cf3902) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfcfcsnow
#000000black
Foreground
#140905black
#ffffffwhite
Card
#fdfcfcsnow
#000000black
Card foreground
#140905black
#ffffffwhite
Popover
#fdfcfcsnow
#000000black
Popover foreground
#140905black
#ffffffwhite
Primary
#cf3902firebrick
#cf3902firebrick
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#0298cfdarkturquoise
#0298cfdarkturquoise
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ebeeefwhitesmoke
#101314black
Muted foreground
#46575ddarkslategray
#a2b3b9darkgray
Accent
#0298cfdarkturquoise
#0298cfdarkturquoise
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#df1701red
#e41801red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e4e2e2gainsboro
#282524darkslategray
Input
#e4e2e2gainsboro
#282524darkslategray
Ring
#cf3902firebrick
#cf3902firebrick

Contrast

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

Light mode
Text on background19.15:1AAA
Text on card19.15:1AAA
Primary button4.95:1AA
Secondary button3.27:1AA Large
Muted text6.48:1AA
Accent3.27:1AA Large
Destructive4.91:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button4.95:1AA
Secondary button3.27:1AA Large
Muted text8.61:1AAA
Accent3.27:1AA Large
Destructive4.72:1AA

CSS variables

Paste this into your globals.css to use Native Hue of Resolution Coral in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.001 41.293);
  --foreground: oklch(0.156 0.023 44.793);
  --muted: oklch(0.947 0.004 221.338);
  --muted-foreground: oklch(0.445 0.023 221.926);
  --popover: oklch(0.992 0.001 41.293);
  --popover-foreground: oklch(0.156 0.023 44.793);
  --card: oklch(0.992 0.001 41.293);
  --card-foreground: oklch(0.156 0.023 44.793);
  --border: oklch(0.915 0.002 41.283);
  --input: oklch(0.915 0.002 41.283);
  --primary: oklch(0.567 0.194 35.808);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.641 0.132 233.065);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.641 0.132 233.065);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.574 0.227 30.344);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.567 0.194 35.808);
  --chart-1: oklch(0.567 0.194 35.808);
  --chart-2: oklch(0.641 0.132 233.065);
  --chart-3: oklch(0.641 0.132 233.065);
  --chart-4: oklch(0.675 0.139 233.213);
  --chart-5: oklch(0.571 0.198 35.516);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.183 0.005 221.612);
  --muted-foreground: oklch(0.755 0.021 221.579);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.269 0.005 41.179);
  --input: oklch(0.269 0.005 41.179);
  --primary: oklch(0.567 0.194 35.808);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.641 0.132 233.065);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.641 0.132 233.065);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.584 0.231 30.326);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.567 0.194 35.808);
  --chart-1: oklch(0.567 0.194 35.808);
  --chart-2: oklch(0.641 0.132 233.065);
  --chart-3: oklch(0.641 0.132 233.065);
  --chart-4: oklch(0.675 0.139 233.213);
  --chart-5: oklch(0.571 0.198 35.516);
}