Generate feedback colors (success, warning, error, and info) for shadcn/ui

Go to generator

10000+Themes for shadcn/ui

Soybean for shadcn/ui

Soybean is a shadcn/ui theme built around a pink primary color (#d55389) with red accents (#d55d53). The light mode uses a neutral background (#fdf6f9). Dark mode keeps the pink primary (#d55389) on a pink-tinted background (#0f0509).

Color palette

TokenLightDark
Background
#fdf6f9snow
#0f0509black
Foreground
#14060cblack
#f9f6f7whitesmoke
Card
#fdf2f6lavenderblush
#13060cblack
Card foreground
#100509black
#fbf9fasnow
Popover
#fdf6f9snow
#0f0509black
Popover foreground
#14060cblack
#f9f6f7whitesmoke
Primary
#d55389palevioletred
#d55389palevioletred
Primary foreground
#000000black
#000000black
Secondary
#d553camediumorchid
#d553camediumorchid
Secondary foreground
#000000black
#000000black
Muted
#ece9eclavender
#161315black
Muted foreground
#6d506adimgray
#af92acdarkgray
Accent
#d55d53indianred
#d55d53indianred
Accent foreground
#000000black
#000000black
Destructive
#682608maroon
#f17941coral
Destructive foreground
#f9c3aalightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d55389palevioletred
#d55389palevioletred

Contrast

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

Light mode
Text on background18.65:1AAA
Text on card18.33:1AAA
Primary button5.42:1AA
Secondary button5.91:1AA
Muted text5.81:1AA
Accent5.54:1AA
Destructive7.14:1AAA
Dark mode
Text on background18.67:1AAA
Text on card18.89:1AAA
Primary button5.42:1AA
Secondary button5.91:1AA
Muted text6.61:1AA
Accent5.54:1AA
Destructive7.53:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.008 349.911);
  --foreground: oklch(0.148 0.028 353.14);
  --muted: oklch(0.938 0.004 328.108);
  --muted-foreground: oklch(0.471 0.054 329.201);
  --popover: oklch(0.981 0.008 349.911);
  --popover-foreground: oklch(0.148 0.028 353.14);
  --card: oklch(0.971 0.013 350.035);
  --card-foreground: oklch(0.135 0.024 351.201);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.627 0.172 357.373);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.654 0.213 331.119);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.628 0.153 27.528);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.363 0.103 41.623);
  --destructive-foreground: oklch(0.858 0.071 46.087);
  --ring: oklch(0.627 0.172 357.373);
  --chart-1: oklch(0.627 0.172 357.373);
  --chart-2: oklch(0.654 0.213 331.119);
  --chart-3: oklch(0.628 0.153 27.528);
  --chart-4: oklch(0.674 0.2 330.85);
  --chart-5: oklch(0.628 0.179 357.794);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.023 351.153);
  --foreground: oklch(0.975 0.004 349.776);
  --muted: oklch(0.191 0.006 328.381);
  --muted-foreground: oklch(0.695 0.049 328.78);
  --popover: oklch(0.136 0.023 351.153);
  --popover-foreground: oklch(0.975 0.004 349.776);
  --card: oklch(0.148 0.027 353.068);
  --card-foreground: oklch(0.984 0.002 349.74);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.627 0.172 357.373);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.654 0.213 331.119);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.628 0.153 27.528);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.705 0.163 43.826);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.627 0.172 357.373);
  --chart-1: oklch(0.627 0.172 357.373);
  --chart-2: oklch(0.654 0.213 331.119);
  --chart-3: oklch(0.628 0.153 27.528);
  --chart-4: oklch(0.674 0.2 330.85);
  --chart-5: oklch(0.628 0.179 357.794);
}