Exceptional Tangy Taffy for shadcn/ui

Exceptional Tangy Taffy is a shadcn/ui theme built around a light red primary color (#ebccc6) with muted red accents (#cbb8b4). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the light red primary (#ebccc6) on a neutral background (#070403).

Color palette

TokenLightDark
Background
#fdf8f7snow
#070403black
Foreground
#150705black
#f9f7f6whitesmoke
Card
#fcf4f2seashell
#0a0605black
Card foreground
#110604black
#fbf9f9snow
Popover
#fdf8f7snow
#070403black
Popover foreground
#150705black
#f9f7f6whitesmoke
Primary
#ebccc6pink
#ebccc6pink
Primary foreground
#5f2b21saddlebrown
#5f2b21saddlebrown
Secondary
#dcd3d1lightgrey
#1a1514black
Secondary foreground
#453835darkslategray
#bba9a5darkgray
Muted
#f1e6e4linen
#1b100eblack
Muted foreground
#534846darkslategray
#b9aeacdarkgray
Accent
#cbb8b4silver
#3c2925darkslategray
Accent foreground
#2d221fblack
#d6c1bdsilver
Destructive
#8d310csaddlebrown
#ed622cchocolate
Destructive foreground
#fbdcd0bisque
#000000black
Border
#eeececlinen
#292524darkslategray
Input
#eeececlinen
#292524darkslategray
Ring
#ebccc6pink
#ebccc6pink

Contrast

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

Light mode
Text on background18.70:1AAA
Text on card18.43:1AAA
Primary button7.56:1AAA
Secondary button7.61:1AAA
Muted text7.21:1AAA
Accent8.09:1AAA
Destructive6.32:1AA
Dark mode
Text on background19.13:1AAA
Text on card19.22:1AAA
Primary button7.56:1AAA
Secondary button8.04:1AAA
Muted text8.62:1AAA
Accent7.97:1AAA
Destructive6.38:1AA

CSS variables

Paste this into your globals.css to use Exceptional Tangy Taffy in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.006 31.055);
  --foreground: oklch(0.151 0.026 35.746);
  --muted: oklch(0.934 0.013 31.071);
  --muted-foreground: oklch(0.412 0.016 31.167);
  --popover: oklch(0.982 0.006 31.055);
  --popover-foreground: oklch(0.151 0.026 35.746);
  --card: oklch(0.973 0.009 31.061);
  --card-foreground: oklch(0.138 0.022 37.003);
  --border: oklch(0.946 0.002 31.048);
  --input: oklch(0.946 0.002 31.048);
  --primary: oklch(0.871 0.036 31.18);
  --primary-foreground: oklch(0.358 0.079 32.728);
  --secondary: oklch(0.872 0.01 31.066);
  --secondary-foreground: oklch(0.354 0.019 31.253);
  --accent: oklch(0.796 0.023 31.12);
  --accent-foreground: oklch(0.263 0.018 31.343);
  --destructive: oklch(0.442 0.133 38.97);
  --destructive-foreground: oklch(0.917 0.038 42.812);
  --ring: oklch(0.871 0.036 31.18);
  --chart-1: oklch(0.871 0.036 31.18);
  --chart-2: oklch(0.872 0.01 31.066);
  --chart-3: oklch(0.796 0.023 31.12);
  --chart-4: oklch(0.897 0.008 31.06);
  --chart-5: oklch(0.87 0.039 31.194);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.112 0.008 34.194);
  --foreground: oklch(0.976 0.002 31.048);
  --muted: oklch(0.187 0.02 31.621);
  --muted-foreground: oklch(0.759 0.014 31.084);
  --popover: oklch(0.112 0.008 34.194);
  --popover-foreground: oklch(0.976 0.002 31.048);
  --card: oklch(0.128 0.009 34.194);
  --card-foreground: oklch(0.984 0.001 31.047);
  --border: oklch(0.267 0.006 31.097);
  --input: oklch(0.267 0.006 31.097);
  --primary: oklch(0.871 0.036 31.18);
  --primary-foreground: oklch(0.358 0.079 32.728);
  --secondary: oklch(0.201 0.009 31.196);
  --secondary-foreground: oklch(0.748 0.022 31.125);
  --accent: oklch(0.302 0.03 31.576);
  --accent-foreground: oklch(0.827 0.025 31.128);
  --destructive: oklch(0.665 0.183 40.093);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.871 0.036 31.18);
  --chart-1: oklch(0.871 0.036 31.18);
  --chart-2: oklch(0.201 0.009 31.196);
  --chart-3: oklch(0.302 0.03 31.576);
  --chart-4: oklch(0.233 0.012 31.222);
  --chart-5: oklch(0.87 0.039 31.194);
}