Valuable for shadcn/ui

Valuable is a shadcn/ui theme built around a red primary color (#e1907a) with muted red accents (#cfb7b0). The light mode uses a neutral background (#fefcfb). Dark mode keeps the red primary (#e1907a) on a neutral background (#080403).

Color palette

TokenLightDark
Background
#fefcfbsnow
#080403black
Foreground
#0d0502black
#faf6f5whitesmoke
Card
#fdf8f7snow
#0b0504black
Card foreground
#090302black
#fbf9f8snow
Popover
#fefcfbsnow
#080403black
Popover foreground
#0d0502black
#faf6f5whitesmoke
Primary
#e1907adarksalmon
#e1907adarksalmon
Primary foreground
#210d08black
#210d08black
Secondary
#dbcfcclightgrey
#231c1ablack
Secondary foreground
#453530darkslategray
#c2b2adsilver
Muted
#eae7e6linen
#191615black
Muted foreground
#6f5d58dimgray
#a79590rosybrown
Accent
#cfb7b0silver
#392823darkslategray
Accent foreground
#2f211dblack
#d4bfb9silver
Destructive
#7e0707maroon
#e90c0cred
Destructive foreground
#fbbbbblightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e1907adarksalmon
#e1907adarksalmon

Contrast

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

Light mode
Text on background19.70:1AAA
Text on card19.48:1AAA
Primary button7.53:1AAA
Secondary button7.66:1AAA
Muted text5.04:1AA
Accent8.11:1AAA
Destructive6.73:1AA
Dark mode
Text on background19.05:1AAA
Text on card19.23:1AAA
Primary button7.53:1AAA
Secondary button8.19:1AAA
Muted text6.30:1AA
Accent7.98:1AAA
Destructive4.65:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 36.004);
  --foreground: oklch(0.126 0.02 44.998);
  --muted: oklch(0.93 0.004 35.997);
  --muted-foreground: oklch(0.494 0.026 35.95);
  --popover: oklch(0.992 0.002 36.004);
  --popover-foreground: oklch(0.126 0.02 44.998);
  --card: oklch(0.983 0.005 35.996);
  --card-foreground: oklch(0.11 0.018 45.512);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.731 0.104 36.2);
  --primary-foreground: oklch(0.189 0.037 36.857);
  --secondary: oklch(0.864 0.014 35.965);
  --secondary-foreground: oklch(0.345 0.025 35.982);
  --accent: oklch(0.797 0.029 35.944);
  --accent-foreground: oklch(0.264 0.024 36.021);
  --destructive: oklch(0.376 0.149 28.484);
  --destructive-foreground: oklch(0.851 0.075 18.731);
  --ring: oklch(0.731 0.104 36.2);
  --chart-1: oklch(0.731 0.104 36.2);
  --chart-2: oklch(0.864 0.014 35.965);
  --chart-3: oklch(0.797 0.029 35.944);
  --chart-4: oklch(0.888 0.012 35.972);
  --chart-5: oklch(0.731 0.109 36.226);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.111 0.012 42.02);
  --foreground: oklch(0.976 0.004 35.998);
  --muted: oklch(0.203 0.006 35.947);
  --muted-foreground: oklch(0.684 0.024 35.944);
  --popover: oklch(0.111 0.012 42.02);
  --popover-foreground: oklch(0.976 0.004 35.998);
  --card: oklch(0.128 0.014 41.856);
  --card-foreground: oklch(0.984 0.003 36.003);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.731 0.104 36.2);
  --primary-foreground: oklch(0.189 0.037 36.857);
  --secondary: oklch(0.234 0.012 35.948);
  --secondary-foreground: oklch(0.775 0.02 35.95);
  --accent: oklch(0.294 0.028 36.034);
  --accent-foreground: oklch(0.822 0.025 35.946);
  --destructive: oklch(0.589 0.237 28.863);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.731 0.104 36.2);
  --chart-1: oklch(0.731 0.104 36.2);
  --chart-2: oklch(0.234 0.012 35.948);
  --chart-3: oklch(0.294 0.028 36.034);
  --chart-4: oklch(0.266 0.015 35.952);
  --chart-5: oklch(0.731 0.109 36.226);
}