Suspicious for shadcn/ui

Suspicious is a shadcn/ui theme built around a vivid red primary color (#a31420) with muted light red accents (#d7cccd). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the vivid red primary (#a31420) on a red-tinted background (#0b0405).

Color palette

TokenLightDark
Background
#fdf7f7snow
#0b0405black
Foreground
#000000black
#f9f6f6whitesmoke
Card
#fdf7f7snow
#0b0405black
Card foreground
#000000black
#f9f6f6whitesmoke
Popover
#fdf7f7snow
#0b0405black
Popover foreground
#000000black
#f9f6f6whitesmoke
Primary
#a31420firebrick
#a31420firebrick
Primary foreground
#fdedeelavenderblush
#fdedeelavenderblush
Secondary
#e4e2e2gainsboro
#2c2626darkslategray
Secondary foreground
#4e4647darkslategray
#c6bebesilver
Muted
#f3e7e8linen
#180c0dblack
Muted foreground
#4b4849darkslategray
#b7b4b4silver
Accent
#d7cccdlightgrey
#423435darkslategray
Accent foreground
#3f3132darkslategray
#d9cecflightgrey
Destructive
#d64400orangered
#ff702etomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a31420firebrick
#a31420firebrick

Contrast

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

Light mode
Text on background19.80:1AAA
Text on card19.80:1AAA
Primary button6.89:1AA
Secondary button7.08:1AAA
Muted text7.50:1AAA
Accent7.86:1AAA
Destructive4.47:1AA Large
Dark mode
Text on background18.90:1AAA
Text on card18.90:1AAA
Primary button6.89:1AA
Secondary button8.15:1AAA
Muted text9.30:1AAA
Accent7.75:1AAA
Destructive7.61:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.007 11.399);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.938 0.013 11.55);
  --muted-foreground: oklch(0.406 0.004 11.464);
  --popover: oklch(0.98 0.007 11.399);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.98 0.007 11.399);
  --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.46 0.175 24.543);
  --primary-foreground: oklch(0.959 0.017 11.645);
  --secondary: oklch(0.914 0.003 11.323);
  --secondary-foreground: oklch(0.403 0.01 11.796);
  --accent: oklch(0.853 0.012 11.566);
  --accent-foreground: oklch(0.33 0.02 12.561);
  --destructive: oklch(0.59 0.192 38.2);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.46 0.175 24.543);
  --chart-1: oklch(0.46 0.175 24.543);
  --chart-2: oklch(0.914 0.003 11.323);
  --chart-3: oklch(0.853 0.012 11.566);
  --chart-4: oklch(0.937 0.002 11.301);
  --chart-5: oklch(0.464 0.179 25.045);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.018 12.729);
  --foreground: oklch(0.975 0.004 11.335);
  --muted: oklch(0.171 0.021 13.989);
  --muted-foreground: oklch(0.771 0.003 11.345);
  --popover: oklch(0.121 0.018 12.729);
  --popover-foreground: oklch(0.975 0.004 11.335);
  --card: oklch(0.121 0.018 12.729);
  --card-foreground: oklch(0.975 0.004 11.335);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.46 0.175 24.543);
  --primary-foreground: oklch(0.959 0.017 11.645);
  --secondary: oklch(0.275 0.009 11.933);
  --secondary-foreground: oklch(0.807 0.01 11.513);
  --accent: oklch(0.339 0.02 12.573);
  --accent-foreground: oklch(0.861 0.012 11.544);
  --destructive: oklch(0.711 0.19 42.392);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.46 0.175 24.543);
  --chart-1: oklch(0.46 0.175 24.543);
  --chart-2: oklch(0.275 0.009 11.933);
  --chart-3: oklch(0.339 0.02 12.573);
  --chart-4: oklch(0.305 0.01 11.963);
  --chart-5: oklch(0.464 0.179 25.045);
}