Humiliating for shadcn/ui

Humiliating is a shadcn/ui theme built around a red primary color (#8f3a2d) with cyan accents (#2d828f). The light mode uses a neutral background (#fdf8f7). Dark mode keeps the red primary (#8f3a2d) on a red-tinted background (#0f0605).

Color palette

TokenLightDark
Background
#fdf8f7snow
#0f0605black
Foreground
#150705black
#fdfcfbsnow
Card
#fdf8f7snow
#0f0605black
Card foreground
#150705black
#fdfcfbsnow
Popover
#fdf8f7snow
#0f0605black
Popover foreground
#150705black
#fdfcfbsnow
Primary
#8f3a2dbrown
#8f3a2dbrown
Primary foreground
#fbf4f3lavenderblush
#fbf4f3lavenderblush
Secondary
#2d828fsteelblue
#2d828fsteelblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d7dee0gainsboro
#1f2728darkslategray
Muted foreground
#434646darkslategray
#b9bbbcsilver
Accent
#2d828fsteelblue
#2d828fsteelblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#b13610firebrick
#d74114chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8f3a2dbrown
#8f3a2dbrown

Contrast

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

Light mode
Text on background18.72:1AAA
Text on card18.72:1AAA
Primary button6.84:1AA
Secondary button4.44:1AA Large
Muted text7.01:1AAA
Accent4.44:1AA Large
Destructive6.15:1AA
Dark mode
Text on background19.49:1AAA
Text on card19.49:1AAA
Primary button6.84:1AA
Secondary button4.44:1AA Large
Muted text7.90:1AAA
Accent4.44:1AA Large
Destructive4.51:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.005 27.958);
  --foreground: oklch(0.15 0.027 32.898);
  --muted: oklch(0.897 0.008 207.896);
  --muted-foreground: oklch(0.392 0.003 207.899);
  --popover: oklch(0.982 0.005 27.958);
  --popover-foreground: oklch(0.15 0.027 32.898);
  --card: oklch(0.982 0.005 27.958);
  --card-foreground: oklch(0.15 0.027 32.898);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.464 0.118 30.887);
  --primary-foreground: oklch(0.973 0.008 27.973);
  --secondary: oklch(0.563 0.082 209.487);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.563 0.082 209.487);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.513 0.166 35.881);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.464 0.118 30.887);
  --chart-1: oklch(0.464 0.118 30.887);
  --chart-2: oklch(0.563 0.082 209.487);
  --chart-3: oklch(0.563 0.082 209.487);
  --chart-4: oklch(0.595 0.087 209.524);
  --chart-5: oklch(0.465 0.125 31.059);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.018 31.942);
  --foreground: oklch(0.991 0.002 27.942);
  --muted: oklch(0.265 0.011 207.836);
  --muted-foreground: oklch(0.791 0.003 207.918);
  --popover: oklch(0.139 0.018 31.942);
  --popover-foreground: oklch(0.991 0.002 27.942);
  --card: oklch(0.139 0.018 31.942);
  --card-foreground: oklch(0.991 0.002 27.942);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.464 0.118 30.887);
  --primary-foreground: oklch(0.973 0.008 27.973);
  --secondary: oklch(0.563 0.082 209.487);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.563 0.082 209.487);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.589 0.193 35.7);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.464 0.118 30.887);
  --chart-1: oklch(0.464 0.118 30.887);
  --chart-2: oklch(0.563 0.082 209.487);
  --chart-3: oklch(0.563 0.082 209.487);
  --chart-4: oklch(0.595 0.087 209.524);
  --chart-5: oklch(0.465 0.125 31.059);
}