Possible for shadcn/ui

Possible is a shadcn/ui theme built around a red primary color (#d86f80) with teal accents (#6fd8c6). The light mode uses a neutral background (#fbf8f9). Dark mode keeps the red primary (#d86f80) on a neutral background (#080303).

Color palette

TokenLightDark
Background
#fbf8f9snow
#080303black
Foreground
#000000black
#faf5f6whitesmoke
Card
#faf5f6whitesmoke
#0b0405black
Card foreground
#000000black
#fcf8f9snow
Popover
#faf5f6whitesmoke
#0b0405black
Popover foreground
#000000black
#fcf8f9snow
Primary
#d86f80palevioletred
#d86f80palevioletred
Primary foreground
#100406black
#100406black
Secondary
#6fd8c6mediumaquamarine
#6fd8c6mediumaquamarine
Secondary foreground
#04100eblack
#04100eblack
Muted
#e3f2eflavender
#0d1c19black
Muted foreground
#404f4ddarkslategray
#b0bfbdsilver
Accent
#6fd8c6mediumaquamarine
#6fd8c6mediumaquamarine
Accent foreground
#04100eblack
#04100eblack
Destructive
#cb2310firebrick
#e72813orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d86f80palevioletred
#d86f80palevioletred

Contrast

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

Light mode
Text on background19.95:1AAA
Text on card19.44:1AAA
Primary button6.22:1AA
Secondary button11.29:1AAA
Muted text7.45:1AAA
Accent11.29:1AAA
Destructive5.54:1AA
Dark mode
Text on background19.02:1AAA
Text on card19.28:1AAA
Primary button6.22:1AA
Secondary button11.29:1AAA
Muted text9.23:1AAA
Accent11.29:1AAA
Destructive4.45:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.003 5.54);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.949 0.016 185.009);
  --muted-foreground: oklch(0.414 0.02 184.119);
  --popover: oklch(0.974 0.005 5.587);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.974 0.005 5.587);
  --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.666 0.132 10.785);
  --primary-foreground: oklch(0.133 0.025 7.217);
  --secondary: oklch(0.813 0.101 181.466);
  --secondary-foreground: oklch(0.16 0.019 183.089);
  --accent: oklch(0.813 0.101 181.466);
  --accent-foreground: oklch(0.16 0.019 183.089);
  --destructive: oklch(0.542 0.204 30.513);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.666 0.132 10.785);
  --chart-1: oklch(0.666 0.132 10.785);
  --chart-2: oklch(0.813 0.101 181.466);
  --chart-3: oklch(0.813 0.101 181.466);
  --chart-4: oklch(0.827 0.094 181.913);
  --chart-5: oklch(0.665 0.139 11.123);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.106 0.016 5.946);
  --foreground: oklch(0.974 0.006 5.604);
  --muted: oklch(0.211 0.021 182.5);
  --muted-foreground: oklch(0.793 0.018 184.86);
  --popover: oklch(0.121 0.018 6.048);
  --popover-foreground: oklch(0.982 0.004 5.551);
  --card: oklch(0.121 0.018 6.048);
  --card-foreground: oklch(0.982 0.004 5.551);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.666 0.132 10.785);
  --primary-foreground: oklch(0.133 0.025 7.217);
  --secondary: oklch(0.813 0.101 181.466);
  --secondary-foreground: oklch(0.16 0.019 183.089);
  --accent: oklch(0.813 0.101 181.466);
  --accent-foreground: oklch(0.16 0.019 183.089);
  --destructive: oklch(0.597 0.226 30.503);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.666 0.132 10.785);
  --chart-1: oklch(0.666 0.132 10.785);
  --chart-2: oklch(0.813 0.101 181.466);
  --chart-3: oklch(0.813 0.101 181.466);
  --chart-4: oklch(0.827 0.094 181.913);
  --chart-5: oklch(0.665 0.139 11.123);
}