Exotic for shadcn/ui

Exotic is a shadcn/ui theme built around a vivid light red primary color (#f4aba9) with vivid light indigo accents (#aba9f4). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the vivid light red primary (#f4aba9) on a neutral background (#070303).

Color palette

TokenLightDark
Background
#fcf8f8snow
#070303black
Foreground
#000000black
#fdfcfcsnow
Card
#faf5f5whitesmoke
#0a0505black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf8f8snow
#070303black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#f4aba9lightpink
#f4aba9lightpink
Primary foreground
#5f0f0cmaroon
#5f0f0cmaroon
Secondary
#a9f4abpalegreen
#a9f4abpalegreen
Secondary foreground
#0c5f0fdarkgreen
#0c5f0fdarkgreen
Muted
#eff0efwhitesmoke
#0f100fblack
Muted foreground
#536e54dimgray
#91ac91darkseagreen
Accent
#aba9f4lightsteelblue
#aba9f4lightsteelblue
Accent foreground
#0f0c5fmidnightblue
#0f0c5fmidnightblue
Destructive
#ce100dfirebrick
#d8110ered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f4aba9lightpink
#f4aba9lightpink

Contrast

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

Light mode
Text on background19.94:1AAA
Text on card19.43:1AAA
Primary button7.22:1AAA
Secondary button6.11:1AA
Muted text4.94:1AA
Accent7.83:1AAA
Destructive5.65:1AA
Dark mode
Text on background19.99:1AAA
Text on card20.22:1AAA
Primary button7.22:1AAA
Secondary button6.11:1AA
Muted text7.73:1AAA
Accent7.83:1AAA
Destructive5.25:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.003 19.655);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.955 0.003 146.518);
  --muted-foreground: oklch(0.511 0.052 145.605);
  --popover: oklch(0.983 0.003 19.655);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.974 0.005 19.681);
  --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.811 0.087 21.348);
  --primary-foreground: oklch(0.317 0.114 27.987);
  --secondary: oklch(0.9 0.124 145.244);
  --secondary-foreground: oklch(0.424 0.135 143.026);
  --accent: oklch(0.765 0.107 285.082);
  --accent-foreground: oklch(0.242 0.138 271.013);
  --destructive: oklch(0.54 0.215 28.917);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.811 0.087 21.348);
  --chart-1: oklch(0.811 0.087 21.348);
  --chart-2: oklch(0.9 0.124 145.244);
  --chart-3: oklch(0.765 0.107 285.082);
  --chart-4: oklch(0.915 0.105 145.477);
  --chart-5: oklch(0.81 0.09 21.432);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.109 0.01 21.585);
  --foreground: oklch(0.992 0.001 19.619);
  --muted: oklch(0.171 0.004 146.34);
  --muted-foreground: oklch(0.715 0.048 145.934);
  --popover: oklch(0.109 0.01 21.585);
  --popover-foreground: oklch(0.992 0.001 19.619);
  --card: oklch(0.125 0.011 21.585);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.811 0.087 21.348);
  --primary-foreground: oklch(0.317 0.114 27.987);
  --secondary: oklch(0.9 0.124 145.244);
  --secondary-foreground: oklch(0.424 0.135 143.026);
  --accent: oklch(0.765 0.107 285.082);
  --accent-foreground: oklch(0.242 0.138 271.013);
  --destructive: oklch(0.558 0.223 28.936);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.811 0.087 21.348);
  --chart-1: oklch(0.811 0.087 21.348);
  --chart-2: oklch(0.9 0.124 145.244);
  --chart-3: oklch(0.765 0.107 285.082);
  --chart-4: oklch(0.915 0.105 145.477);
  --chart-5: oklch(0.81 0.09 21.432);
}