Jumbo for shadcn/ui

Jumbo is a shadcn/ui theme built around a deep pink primary color (#4c1f37) with muted light pink accents (#e1ccd7). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the deep pink primary (#4c1f37) on a pink-tinted background (#0c0308).

Color palette

TokenLightDark
Background
#fcf8fasnow
#0c0308black
Foreground
#000000black
#fbf8fasnow
Card
#faf5f8whitesmoke
#10050bblack
Card foreground
#000000black
#fdfcfdwhite
Popover
#faf5f8whitesmoke
#10050bblack
Popover foreground
#000000black
#fdfcfdwhite
Primary
#4c1f37darkslategray
#4c1f37darkslategray
Primary foreground
#e3bad0thistle
#e3bad0thistle
Secondary
#ece4e8linen
#3a2c33darkslategray
Secondary foreground
#5d4150darkslategray
#d3c5ccthistle
Muted
#f3ecf0whitesmoke
#130c10black
Muted foreground
#5b4952dimgray
#b6a4aedarkgray
Accent
#e1ccd7thistle
#553a48darkslategray
Accent foreground
#4d2d3edarkslategray
#e6dbe1gainsboro
Destructive
#631103maroon
#ef2906orangered
Destructive foreground
#fcaa9clightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#4c1f37darkslategray
#4c1f37darkslategray

Contrast

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

Light mode
Text on background19.94:1AAA
Text on card19.42:1AAA
Primary button7.82:1AAA
Secondary button7.20:1AAA
Muted text7.18:1AAA
Accent7.82:1AAA
Destructive7.02:1AAA
Dark mode
Text on background19.25:1AAA
Text on card19.61:1AAA
Primary button7.82:1AAA
Secondary button7.93:1AAA
Muted text8.20:1AAA
Accent7.48:1AAA
Destructive4.21:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.005 343.567);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.95 0.009 343.681);
  --muted-foreground: oklch(0.426 0.028 345.043);
  --popover: oklch(0.974 0.007 343.63);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.974 0.007 343.63);
  --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.313 0.075 349.114);
  --primary-foreground: oklch(0.832 0.055 345.016);
  --secondary: oklch(0.926 0.011 343.731);
  --secondary-foreground: oklch(0.412 0.046 346.044);
  --accent: oklch(0.865 0.028 344.238);
  --accent-foreground: oklch(0.344 0.053 347.038);
  --destructive: oklch(0.327 0.118 32.743);
  --destructive-foreground: oklch(0.815 0.1 30.393);
  --ring: oklch(0.313 0.075 349.114);
  --chart-1: oklch(0.313 0.075 349.114);
  --chart-2: oklch(0.926 0.011 343.731);
  --chart-3: oklch(0.865 0.028 344.238);
  --chart-4: oklch(0.951 0.007 343.63);
  --chart-5: oklch(0.314 0.08 349.528);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.023 343.642);
  --foreground: oklch(0.983 0.004 343.547);
  --muted: oklch(0.164 0.014 345.487);
  --muted-foreground: oklch(0.738 0.025 344.262);
  --popover: oklch(0.136 0.027 345.441);
  --popover-foreground: oklch(0.991 0.002 343.495);
  --card: oklch(0.136 0.027 345.441);
  --card-foreground: oklch(0.991 0.002 343.495);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.313 0.075 349.114);
  --primary-foreground: oklch(0.832 0.055 345.016);
  --secondary: oklch(0.312 0.023 345.181);
  --secondary-foreground: oklch(0.837 0.018 343.964);
  --accent: oklch(0.384 0.044 346.144);
  --accent-foreground: oklch(0.901 0.015 343.861);
  --destructive: oklch(0.611 0.232 31.465);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.313 0.075 349.114);
  --chart-1: oklch(0.313 0.075 349.114);
  --chart-2: oklch(0.312 0.023 345.181);
  --chart-3: oklch(0.384 0.044 346.144);
  --chart-4: oklch(0.341 0.026 345.231);
  --chart-5: oklch(0.314 0.08 349.528);
}