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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 4.45:1 | AA Large |
| Secondary button | 7.28:1 | AAA |
| Muted text | 7.19:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.50:1 | AA |
| Text on background | 20.05:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 4.45:1 | AA Large |
| Secondary button | 7.94:1 | AAA |
| Muted text | 7.93:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 7.38:1 | AAA |
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);
}