Low for shadcn/ui

Low is a shadcn/ui theme built around a pink primary color (#db4d92) with teal accents (#4ddb96). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#db4d92) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#0d0307black
#ffffffwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#080205black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#0d0307black
#ffffffwhite
Primary
#db4d92palevioletred
#db4d92palevioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#4ddb96mediumaquamarine
#4ddb96mediumaquamarine
Secondary foreground
#000000black
#000000black
Muted
#e3e8e6gainsboro
#171c1ablack
Muted foreground
#4f695cdimgray
#96b0a4darkgray
Accent
#4ddb96mediumaquamarine
#4ddb96mediumaquamarine
Accent foreground
#000000black
#000000black
Destructive
#a94104saddlebrown
#e55806orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#db4d92palevioletred
#db4d92palevioletred

Contrast

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

Light mode
Text on background20.32:1AAA
Text on card20.12:1AAA
Primary button3.83:1AA Large
Secondary button11.84:1AAA
Muted text4.82:1AA
Accent11.84:1AAA
Destructive6.10:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button3.83:1AA Large
Secondary button11.84:1AAA
Muted text7.43:1AAA
Accent11.84:1AAA
Destructive3.67:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.12 0.028 346.209);
  --muted: oklch(0.926 0.006 165.851);
  --muted-foreground: oklch(0.495 0.036 163.873);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.12 0.028 346.209);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.104 0.024 345.74);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.632 0.188 353.947);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.797 0.156 158.417);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.797 0.156 158.417);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.511 0.15 42.833);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.632 0.188 353.947);
  --chart-1: oklch(0.632 0.188 353.947);
  --chart-2: oklch(0.797 0.156 158.417);
  --chart-3: oklch(0.797 0.156 158.417);
  --chart-4: oklch(0.809 0.148 159.246);
  --chart-5: oklch(0.633 0.195 354.338);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.22 0.008 164.993);
  --muted-foreground: oklch(0.734 0.033 164.737);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.632 0.188 353.947);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.797 0.156 158.417);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.797 0.156 158.417);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.637 0.19 42.061);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.632 0.188 353.947);
  --chart-1: oklch(0.632 0.188 353.947);
  --chart-2: oklch(0.797 0.156 158.417);
  --chart-3: oklch(0.797 0.156 158.417);
  --chart-4: oklch(0.809 0.148 159.246);
  --chart-5: oklch(0.633 0.195 354.338);
}