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

Go to generator

10000+Themes for shadcn/ui

Insubstantial for shadcn/ui

Insubstantial is a shadcn/ui theme built around a red primary color (#bf6e7d) with muted light red accents (#e9e2e3). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#bf6e7d) on a red-tinted background (#0b0506).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0506black
Foreground
#140508black
#fbf9f9snow
Card
#fcfcfcsnow
#0e0608black
Card foreground
#100406black
#fdfcfcsnow
Popover
#fcfcfcsnow
#0e0608black
Popover foreground
#100406black
#fdfcfcsnow
Primary
#bf6e7dpalevioletred
#bf6e7dpalevioletred
Primary foreground
#000000black
#000000black
Secondary
#e9e2e3gainsboro
#2f2225darkslategray
Secondary foreground
#574246darkslategray
#ccb8bcsilver
Muted
#e9d8dbgainsboro
#271619black
Muted foreground
#4b4949darkslategray
#b6b4b5silver
Accent
#e9e2e3gainsboro
#2f2225darkslategray
Accent foreground
#574246darkslategray
#ccb8bcsilver
Destructive
#ca4012firebrick
#eb4a14orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bf6e7dpalevioletred
#bf6e7dpalevioletred

Contrast

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

Light mode
Text on background19.90:1AAA
Text on card19.71:1AAA
Primary button5.73:1AA
Secondary button7.23:1AAA
Muted text6.51:1AA
Accent7.23:1AAA
Destructive4.95:1AA
Dark mode
Text on background19.31:1AAA
Text on card19.54:1AAA
Primary button5.73:1AA
Secondary button8.07:1AAA
Muted text8.37:1AAA
Accent8.07:1AAA
Destructive3.81:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.145 0.029 7.396);
  --muted: oklch(0.896 0.019 4.879);
  --muted-foreground: oklch(0.408 0.002 4.443);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.133 0.025 6.021);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.133 0.025 6.021);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.632 0.104 8.721);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.919 0.008 4.541);
  --secondary-foreground: oklch(0.403 0.03 6.261);
  --accent: oklch(0.919 0.008 4.541);
  --accent-foreground: oklch(0.403 0.03 6.261);
  --destructive: oklch(0.565 0.182 36.534);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.632 0.104 8.721);
  --chart-1: oklch(0.632 0.104 8.721);
  --chart-2: oklch(0.919 0.008 4.541);
  --chart-3: oklch(0.919 0.008 4.541);
  --chart-4: oklch(0.943 0.006 4.467);
  --chart-5: oklch(0.63 0.113 9.116);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.014 4.603);
  --foreground: oklch(0.983 0.003 4.381);
  --muted: oklch(0.225 0.028 7.612);
  --muted-foreground: oklch(0.772 0.002 4.371);
  --popover: oklch(0.137 0.016 5.437);
  --popover-foreground: oklch(0.992 0.001 4.346);
  --card: oklch(0.137 0.016 5.437);
  --card-foreground: oklch(0.992 0.001 4.346);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.632 0.104 8.721);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.27 0.02 6.274);
  --secondary-foreground: oklch(0.8 0.023 5.06);
  --accent: oklch(0.27 0.02 6.274);
  --accent-foreground: oklch(0.8 0.023 5.06);
  --destructive: oklch(0.631 0.205 36.379);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.632 0.104 8.721);
  --chart-1: oklch(0.632 0.104 8.721);
  --chart-2: oklch(0.27 0.02 6.274);
  --chart-3: oklch(0.27 0.02 6.274);
  --chart-4: oklch(0.299 0.024 6.363);
  --chart-5: oklch(0.63 0.113 9.116);
}