Exotic for shadcn/ui

Exotic is a shadcn/ui theme built around a deep red primary color (#300812) with deep orange accents (#301308). The light mode uses a neutral background (#fefbfc). Dark mode keeps the deep red primary (#300812) on a neutral background (#070304).

Color palette

TokenLightDark
Background
#fefbfcsnow
#070304black
Foreground
#140509black
#fdfcfcsnow
Card
#fefbfcsnow
#070304black
Card foreground
#140509black
#fdfcfcsnow
Popover
#fefbfcsnow
#070304black
Popover foreground
#140509black
#fdfcfcsnow
Primary
#300812black
#300812black
Primary foreground
#e98199palevioletred
#e98199palevioletred
Secondary
#300825black
#300825black
Secondary foreground
#e981cdorchid
#e981cdorchid
Muted
#e9e7e9lavender
#181617black
Muted foreground
#5b5259dimgray
#ada4aadarkgray
Accent
#301308black
#301308black
Accent foreground
#e99d81darksalmon
#e99d81darksalmon
Destructive
#651b06maroon
#eb3f0forangered
Destructive foreground
#f9b6a4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#300812black
#300812black

Contrast

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

Light mode
Text on background19.31:1AAA
Text on card19.31:1AAA
Primary button6.89:1AA
Secondary button7.14:1AAA
Muted text6.10:1AA
Accent7.87:1AAA
Destructive7.17:1AAA
Dark mode
Text on background20.04:1AAA
Text on card20.04:1AAA
Primary button6.89:1AA
Secondary button7.14:1AAA
Muted text7.43:1AAA
Accent7.87:1AAA
Destructive4.00:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.004 1.067);
  --foreground: oklch(0.145 0.03 4.108);
  --muted: oklch(0.93 0.003 334.59);
  --muted-foreground: oklch(0.451 0.015 335.104);
  --popover: oklch(0.99 0.004 1.067);
  --popover-foreground: oklch(0.145 0.03 4.108);
  --card: oklch(0.99 0.004 1.067);
  --card-foreground: oklch(0.145 0.03 4.108);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.212 0.064 10.531);
  --primary-foreground: oklch(0.724 0.129 5.889);
  --secondary: oklch(0.221 0.074 340.241);
  --secondary-foreground: oklch(0.741 0.156 337.93);
  --accent: oklch(0.228 0.051 40.291);
  --accent-foreground: oklch(0.764 0.099 40.768);
  --destructive: oklch(0.341 0.11 35.435);
  --destructive-foreground: oklch(0.835 0.082 36.049);
  --ring: oklch(0.212 0.064 10.531);
  --chart-1: oklch(0.212 0.064 10.531);
  --chart-2: oklch(0.221 0.074 340.241);
  --chart-3: oklch(0.228 0.051 40.291);
  --chart-4: oklch(0.254 0.09 340.651);
  --chart-5: oklch(0.212 0.066 10.963);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.107 0.015 0.976);
  --foreground: oklch(0.992 0.001 0.992);
  --muted: oklch(0.203 0.005 334.944);
  --muted-foreground: oklch(0.728 0.013 334.847);
  --popover: oklch(0.107 0.015 0.976);
  --popover-foreground: oklch(0.992 0.001 0.992);
  --card: oklch(0.107 0.015 0.976);
  --card-foreground: oklch(0.992 0.001 0.992);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.212 0.064 10.531);
  --primary-foreground: oklch(0.724 0.129 5.889);
  --secondary: oklch(0.221 0.074 340.241);
  --secondary-foreground: oklch(0.741 0.156 337.93);
  --accent: oklch(0.228 0.051 40.291);
  --accent-foreground: oklch(0.764 0.099 40.768);
  --destructive: oklch(0.621 0.215 34.349);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.212 0.064 10.531);
  --chart-1: oklch(0.212 0.064 10.531);
  --chart-2: oklch(0.221 0.074 340.241);
  --chart-3: oklch(0.228 0.051 40.291);
  --chart-4: oklch(0.254 0.09 340.651);
  --chart-5: oklch(0.212 0.066 10.963);
}