Suspicious for shadcn/ui

Suspicious is a shadcn/ui theme built around a muted deep red primary color (#272221) with muted light red accents (#ebe6e5). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the muted deep red primary (#272221) on a neutral background (#080302).

Color palette

TokenLightDark
Background
#fdf8f7snow
#080302black
Foreground
#140805black
#ffffffwhite
Card
#fbf5f3whitesmoke
#0c0504black
Card foreground
#100604black
#ffffffwhite
Popover
#fdf8f7snow
#080302black
Popover foreground
#140805black
#ffffffwhite
Primary
#272221black
#272221black
Primary foreground
#c2b9b7silver
#c2b9b7silver
Secondary
#ebe6e5linen
#171312black
Secondary foreground
#5a4844darkolivegreen
#b9a6a2darkgray
Muted
#f0e3e0mistyrose
#1f120fblack
Muted foreground
#6b5b57dimgray
#a89894rosybrown
Accent
#ebe6e5linen
#171312black
Accent foreground
#5a4844darkolivegreen
#b9a6a2darkgray
Destructive
#a32e0afirebrick
#eb420forangered
Destructive foreground
#fde9e2mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#272221black
#272221black

Contrast

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

Light mode
Text on background18.71:1AAA
Text on card18.53:1AAA
Primary button8.18:1AAA
Secondary button6.94:1AA
Muted text5.14:1AA
Accent6.94:1AA
Destructive6.07:1AA
Dark mode
Text on background20.47:1AAA
Text on card20.21:1AAA
Primary button8.18:1AAA
Secondary button7.95:1AAA
Muted text6.59:1AA
Accent7.95:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.005 32.661);
  --foreground: oklch(0.152 0.023 36.559);
  --muted: oklch(0.925 0.015 32.669);
  --muted-foreground: oklch(0.485 0.022 32.738);
  --popover: oklch(0.983 0.005 32.661);
  --popover-foreground: oklch(0.152 0.023 36.559);
  --card: oklch(0.974 0.007 32.661);
  --card-foreground: oklch(0.14 0.02 37.998);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.256 0.007 32.691);
  --primary-foreground: oklch(0.793 0.01 32.665);
  --secondary: oklch(0.929 0.006 32.661);
  --secondary-foreground: oklch(0.419 0.026 32.809);
  --accent: oklch(0.929 0.006 32.661);
  --accent-foreground: oklch(0.419 0.026 32.809);
  --destructive: oklch(0.478 0.159 35.514);
  --destructive-foreground: oklch(0.947 0.024 37.641);
  --ring: oklch(0.256 0.007 32.691);
  --chart-1: oklch(0.256 0.007 32.691);
  --chart-2: oklch(0.929 0.006 32.661);
  --chart-3: oklch(0.929 0.006 32.661);
  --chart-4: oklch(0.953 0.004 32.661);
  --chart-5: oklch(0.255 0.01 32.723);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.11 0.013 38.655);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.198 0.024 33.165);
  --muted-foreground: oklch(0.692 0.02 32.69);
  --popover: oklch(0.11 0.013 38.655);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.126 0.015 38.488);
  --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.256 0.007 32.691);
  --primary-foreground: oklch(0.793 0.01 32.665);
  --secondary: oklch(0.19 0.008 32.73);
  --secondary-foreground: oklch(0.741 0.023 32.696);
  --accent: oklch(0.19 0.008 32.73);
  --accent-foreground: oklch(0.741 0.023 32.696);
  --destructive: oklch(0.624 0.212 35.106);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.256 0.007 32.691);
  --chart-1: oklch(0.256 0.007 32.691);
  --chart-2: oklch(0.19 0.008 32.73);
  --chart-3: oklch(0.19 0.008 32.73);
  --chart-4: oklch(0.223 0.011 32.75);
  --chart-5: oklch(0.255 0.01 32.723);
}