Incomparable for shadcn/ui

Incomparable is a shadcn/ui theme built around a near-black primary color (#000000) with muted light red accents (#decece). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#000000) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#110303black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#110303black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#110303black
#ffffffwhite
Primary
#000000black
#000000black
Primary foreground
#999999darkgray
#999999darkgray
Secondary
#ebe5e5linen
#201818black
Secondary foreground
#594646darkolivegreen
#c0aaaadarkgray
Muted
#ebd6d6gainsboro
#291414black
Muted foreground
#6a6262dimgray
#9d9595darkgray
Accent
#dececelightgrey
#392323darkslategray
Accent foreground
#493232darkslategray
#d4b9b9silver
Destructive
#d54101orangered
#fe6625tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#000000black
#000000black

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button7.37:1AAA
Secondary button7.07:1AAA
Muted text4.26:1AA Large
Accent7.76:1AAA
Destructive4.58:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button7.37:1AAA
Secondary button7.94:1AAA
Muted text5.94:1AA
Accent7.96:1AAA
Destructive7.13:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.129 0.031 22.374);
  --muted: oklch(0.893 0.024 17.607);
  --muted-foreground: oklch(0.503 0.01 17.504);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.129 0.031 22.374);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.129 0.031 22.374);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0 0 0);
  --primary-foreground: oklch(0.683 0 180);
  --secondary: oklch(0.927 0.006 17.265);
  --secondary-foreground: oklch(0.413 0.026 18.265);
  --accent: oklch(0.865 0.017 17.492);
  --accent-foreground: oklch(0.343 0.034 18.965);
  --destructive: oklch(0.585 0.194 37.375);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0 0 0);
  --chart-2: oklch(0.927 0.006 17.265);
  --chart-3: oklch(0.865 0.017 17.492);
  --chart-4: oklch(0.952 0.004 17.227);
  --chart-5: oklch(0 0 0);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.221 0.035 20.288);
  --muted-foreground: oklch(0.677 0.01 17.395);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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 0 0);
  --primary-foreground: oklch(0.683 0 180);
  --secondary: oklch(0.219 0.014 18.241);
  --secondary-foreground: oklch(0.757 0.026 17.736);
  --accent: oklch(0.284 0.034 19.393);
  --accent-foreground: oklch(0.81 0.031 17.807);
  --destructive: oklch(0.695 0.199 40.501);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0 0 0);
  --chart-2: oklch(0.219 0.014 18.241);
  --chart-3: oklch(0.284 0.034 19.393);
  --chart-4: oklch(0.249 0.017 18.337);
  --chart-5: oklch(0 0 0);
}