Shrimp for shadcn/ui

Shrimp is a shadcn/ui theme built around a vivid red primary color (#e52a3c) with muted light red accents (#d3c5c7). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the vivid red primary (#e52a3c) on a neutral background (#080303).

Color palette

TokenLightDark
Background
#fdf7f8snow
#080303black
Foreground
#000000black
#fdfcfcsnow
Card
#fcf3f4lavenderblush
#0b0405black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf3f4lavenderblush
#0b0405black
Popover foreground
#000000black
#ffffffwhite
Primary
#e52a3ccrimson
#e52a3ccrimson
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e3dedfgainsboro
#24191ablack
Secondary foreground
#4c4243darkslategray
#c4abaedarkgray
Muted
#e4d3d5gainsboro
#2c1b1dblack
Muted foreground
#4f3b3ddarkslategray
#c4b0b2silver
Accent
#d3c5c7lightgrey
#402628darkslategray
Accent foreground
#3a2c2edarkslategray
#d9bfc1thistle
Destructive
#aa3503firebrick
#fb6e32tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e52a3ccrimson
#e52a3ccrimson

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.26:1AAA
Primary button4.45:1AA Large
Secondary button7.28:1AAA
Muted text7.19:1AAA
Accent7.97:1AAA
Destructive6.50:1AA
Dark mode
Text on background20.05:1AAA
Text on card20.31:1AAA
Primary button4.45:1AA Large
Secondary button7.94:1AAA
Muted text7.93:1AAA
Accent7.98:1AAA
Destructive7.38:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 10.218);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.881 0.018 10.551);
  --muted-foreground: oklch(0.374 0.029 11.885);
  --popover: oklch(0.971 0.009 10.291);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.971 0.009 10.291);
  --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.597 0.219 22.67);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.905 0.005 10.196);
  --secondary-foreground: oklch(0.391 0.014 10.88);
  --accent: oklch(0.836 0.015 10.485);
  --accent-foreground: oklch(0.31 0.02 11.528);
  --destructive: oklch(0.498 0.16 38.242);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.597 0.219 22.67);
  --chart-1: oklch(0.597 0.219 22.67);
  --chart-2: oklch(0.905 0.005 10.196);
  --chart-3: oklch(0.836 0.015 10.485);
  --chart-4: oklch(0.929 0.003 10.163);
  --chart-5: oklch(0.601 0.224 23.204);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.106 0.015 11.278);
  --foreground: oklch(0.991 0.002 10.121);
  --muted: oklch(0.246 0.026 12.558);
  --muted-foreground: oklch(0.775 0.024 10.781);
  --popover: oklch(0.121 0.018 11.342);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.121 0.018 11.342);
  --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.597 0.219 22.67);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.228 0.017 11.757);
  --secondary-foreground: oklch(0.764 0.028 10.922);
  --accent: oklch(0.302 0.04 13.244);
  --accent-foreground: oklch(0.827 0.03 10.914);
  --destructive: oklch(0.703 0.186 41.483);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.597 0.219 22.67);
  --chart-1: oklch(0.597 0.219 22.67);
  --chart-2: oklch(0.228 0.017 11.757);
  --chart-3: oklch(0.302 0.04 13.244);
  --chart-4: oklch(0.259 0.02 11.882);
  --chart-5: oklch(0.601 0.224 23.204);
}