April Fool’s Red Anglerfish for shadcn/ui

April Fool’s Red Anglerfish is a shadcn/ui theme built around a vivid teal primary color (#10b77f) with muted light teal accents (#d4e2de). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid teal primary (#10b77f) on a teal-tinted background (#050a08).

Color palette

TokenLightDark
Background
#fbfefdwhite
#050a08black
Foreground
#041610black
#f5faf8mintcream
Card
#f6fdfbmintcream
#070d0bblack
Card foreground
#03110dblack
#f8fcfamintcream
Popover
#f6fdfbmintcream
#070d0bblack
Popover foreground
#03110dblack
#f8fcfamintcream
Primary
#10b77flightseagreen
#10b77flightseagreen
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d4e2degainsboro
#2c3532darkslategray
Secondary foreground
#355047darkslategray
#c5cecblightgrey
Muted
#dcefe9lavender
#10231dblack
Muted foreground
#616564dimgray
#9a9e9cdarkgray
Accent
#d4e2degainsboro
#2c3532darkslategray
Accent foreground
#355047darkslategray
#c5cecblightgrey
Destructive
#862903saddlebrown
#ef4806orangered
Destructive foreground
#fdd0bepeachpuff
#ffffffwhite
Border
#e6ebe9lavender
#191f1dblack
Input
#e6ebe9lavender
#191f1dblack
Ring
#10b77flightseagreen
#10b77flightseagreen

Contrast

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

Light mode
Text on background18.36:1AAA
Text on card18.74:1AAA
Primary button2.59:1Fail
Secondary button6.60:1AA
Muted text4.95:1AA
Accent6.60:1AA
Destructive6.41:1AA
Dark mode
Text on background18.88:1AAA
Text on card18.89:1AAA
Primary button2.59:1Fail
Secondary button7.87:1AAA
Muted text6.02:1AA
Accent7.87:1AAA
Destructive3.75:1AA Large

CSS variables

Paste this into your globals.css to use April Fool’s Red Anglerfish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.004 174.471);
  --foreground: oklch(0.18 0.028 170.04);
  --muted: oklch(0.937 0.023 173.862);
  --muted-foreground: oklch(0.504 0.005 174.275);
  --popover: oklch(0.989 0.008 174.353);
  --popover-foreground: oklch(0.163 0.025 171.58);
  --card: oklch(0.989 0.008 174.353);
  --card-foreground: oklch(0.163 0.025 171.58);
  --border: oklch(0.934 0.006 174.405);
  --input: oklch(0.934 0.006 174.405);
  --primary: oklch(0.69 0.148 162.368);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.902 0.017 174.043);
  --secondary-foreground: oklch(0.405 0.036 171.689);
  --accent: oklch(0.902 0.017 174.043);
  --accent-foreground: oklch(0.405 0.036 171.689);
  --destructive: oklch(0.42 0.135 38.015);
  --destructive-foreground: oklch(0.892 0.057 42.688);
  --ring: oklch(0.69 0.148 162.368);
  --chart-1: oklch(0.69 0.148 162.368);
  --chart-2: oklch(0.902 0.017 174.043);
  --chart-3: oklch(0.902 0.017 174.043);
  --chart-4: oklch(0.923 0.013 174.173);
  --chart-5: oklch(0.698 0.151 161.989);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.01 174.732);
  --foreground: oklch(0.981 0.006 174.41);
  --muted: oklch(0.239 0.029 170.196);
  --muted-foreground: oklch(0.694 0.005 174.378);
  --popover: oklch(0.153 0.012 173.096);
  --popover-foreground: oklch(0.987 0.004 174.47);
  --card: oklch(0.153 0.012 173.096);
  --card-foreground: oklch(0.987 0.004 174.47);
  --border: oklch(0.233 0.01 173.29);
  --input: oklch(0.233 0.01 173.29);
  --primary: oklch(0.69 0.148 162.368);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.319 0.013 173.352);
  --secondary-foreground: oklch(0.844 0.011 174.189);
  --accent: oklch(0.319 0.013 173.352);
  --accent-foreground: oklch(0.844 0.011 174.189);
  --destructive: oklch(0.636 0.212 36.724);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.69 0.148 162.368);
  --chart-1: oklch(0.69 0.148 162.368);
  --chart-2: oklch(0.319 0.013 173.352);
  --chart-3: oklch(0.319 0.013 173.352);
  --chart-4: oklch(0.35 0.015 173.313);
  --chart-5: oklch(0.698 0.151 161.989);
}