Equatorial for shadcn/ui

Equatorial is a shadcn/ui theme built around a light pink primary color (#f0cbe3) with light red accents (#f0cbd0). The light mode uses a neutral background (#fefbfd). Dark mode keeps the light pink primary (#f0cbe3) on a pink-tinted background (#0d070b).

Color palette

TokenLightDark
Background
#fefbfdsnow
#0d070bblack
Foreground
#15050fblack
#fdfcfdwhite
Card
#fefbfdsnow
#0d070bblack
Card foreground
#15050fblack
#fdfcfdwhite
Popover
#fefbfdsnow
#0d070bblack
Popover foreground
#15050fblack
#fdfcfdwhite
Primary
#f0cbe3gainsboro
#f0cbe3gainsboro
Primary foreground
#6b1e4fpurple
#6b1e4fpurple
Secondary
#ebcbf0lavender
#ebcbf0lavender
Secondary foreground
#611e6bindigo
#611e6bindigo
Muted
#e6d9e7gainsboro
#241826black
Muted foreground
#4b3c4edarkslategray
#c1b1c3silver
Accent
#f0cbd0pink
#f0cbd0pink
Accent foreground
#6b1e29maroon
#6b1e29maroon
Destructive
#74180bmaroon
#e82f17orangered
Destructive foreground
#f8c1b9lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f0cbe3gainsboro
#f0cbe3gainsboro

Contrast

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

Light mode
Text on background19.27:1AAA
Text on card19.27:1AAA
Primary button7.48:1AAA
Secondary button7.54:1AAA
Muted text7.52:1AAA
Accent7.70:1AAA
Destructive7.10:1AAA
Dark mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button7.48:1AAA
Secondary button7.54:1AAA
Muted text8.41:1AAA
Accent7.70:1AAA
Destructive4.32:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 338.794);
  --foreground: oklch(0.148 0.037 342.415);
  --muted: oklch(0.9 0.023 321.663);
  --muted-foreground: oklch(0.379 0.036 321.845);
  --popover: oklch(0.991 0.003 338.794);
  --popover-foreground: oklch(0.148 0.037 342.415);
  --card: oklch(0.991 0.003 338.794);
  --card-foreground: oklch(0.148 0.037 342.415);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.881 0.052 339.932);
  --primary-foreground: oklch(0.376 0.122 345.638);
  --secondary: oklch(0.881 0.061 321.78);
  --secondary-foreground: oklch(0.375 0.139 322.059);
  --accent: oklch(0.876 0.042 8.923);
  --accent-foreground: oklch(0.363 0.109 16.857);
  --destructive: oklch(0.368 0.128 31.029);
  --destructive-foreground: oklch(0.858 0.065 27.129);
  --ring: oklch(0.881 0.052 339.932);
  --chart-1: oklch(0.881 0.052 339.932);
  --chart-2: oklch(0.881 0.061 321.78);
  --chart-3: oklch(0.876 0.042 8.923);
  --chart-4: oklch(0.909 0.047 321.733);
  --chart-5: oklch(0.881 0.055 339.997);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.14 0.014 339.996);
  --foreground: oklch(0.992 0.001 338.739);
  --muted: oklch(0.229 0.032 321.947);
  --muted-foreground: oklch(0.78 0.03 321.7);
  --popover: oklch(0.14 0.014 339.996);
  --popover-foreground: oklch(0.992 0.001 338.739);
  --card: oklch(0.14 0.014 339.996);
  --card-foreground: oklch(0.992 0.001 338.739);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.881 0.052 339.932);
  --primary-foreground: oklch(0.376 0.122 345.638);
  --secondary: oklch(0.881 0.061 321.78);
  --secondary-foreground: oklch(0.375 0.139 322.059);
  --accent: oklch(0.876 0.042 8.923);
  --accent-foreground: oklch(0.363 0.109 16.857);
  --destructive: oklch(0.604 0.222 31.008);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.881 0.052 339.932);
  --chart-1: oklch(0.881 0.052 339.932);
  --chart-2: oklch(0.881 0.061 321.78);
  --chart-3: oklch(0.876 0.042 8.923);
  --chart-4: oklch(0.909 0.047 321.733);
  --chart-5: oklch(0.881 0.055 339.997);
}