Roasted for shadcn/ui

Roasted is a shadcn/ui theme built around a vivid pink primary color (#e61e89) with muted light pink accents (#d6c7cf). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid pink primary (#e61e89) on a neutral background (#040103).

Color palette

TokenLightDark
Background
#fcf8fasnow
#040103black
Foreground
#15050dblack
#fdfcfcsnow
Card
#faf4f8whitesmoke
#080305black
Card foreground
#11040bblack
#ffffffwhite
Popover
#fcf8fasnow
#040103black
Popover foreground
#15050dblack
#fdfcfcsnow
Primary
#e61e89deeppink
#e61e89deeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e7e4e6gainsboro
#1d161ablack
Secondary foreground
#52474ddarkslategray
#bea7b3darkgray
Muted
#e4d8degainsboro
#271b22black
Muted foreground
#4a4548darkslategray
#bab5b8silver
Accent
#d6c7cfthistle
#34222cdarkslategray
Accent foreground
#3e2e36darkslategray
#d1b8c5silver
Destructive
#c11401firebrick
#fe240borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e61e89deeppink
#e61e89deeppink

Contrast

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

Light mode
Text on background18.81:1AAA
Text on card18.56:1AAA
Primary button4.27:1AA Large
Secondary button7.01:1AAA
Muted text6.78:1AA
Accent7.85:1AAA
Destructive6.24:1AA
Dark mode
Text on background20.26:1AAA
Text on card20.51:1AAA
Primary button4.27:1AA Large
Secondary button7.93:1AAA
Muted text8.19:1AAA
Accent8.03:1AAA
Destructive3.84:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.005 343.57);
  --foreground: oklch(0.147 0.035 347.291);
  --muted: oklch(0.893 0.016 343.877);
  --muted-foreground: oklch(0.395 0.009 344.015);
  --popover: oklch(0.983 0.005 343.57);
  --popover-foreground: oklch(0.147 0.035 347.291);
  --card: oklch(0.974 0.007 343.635);
  --card-foreground: oklch(0.134 0.031 345.68);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.612 0.237 355.82);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.921 0.005 343.57);
  --secondary-foreground: oklch(0.411 0.017 344.454);
  --accent: oklch(0.845 0.019 344.007);
  --accent-foreground: oklch(0.321 0.027 345.468);
  --destructive: oklch(0.515 0.203 30.475);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.612 0.237 355.82);
  --chart-1: oklch(0.612 0.237 355.82);
  --chart-2: oklch(0.921 0.005 343.57);
  --chart-3: oklch(0.845 0.019 344.007);
  --chart-4: oklch(0.945 0.003 343.529);
  --chart-5: oklch(0.617 0.242 356.341);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.014 343.368);
  --foreground: oklch(0.992 0.001 343.477);
  --muted: oklch(0.24 0.022 345.597);
  --muted-foreground: oklch(0.778 0.008 343.691);
  --popover: oklch(0.085 0.014 343.368);
  --popover-foreground: oklch(0.992 0.001 343.477);
  --card: oklch(0.108 0.018 343.368);
  --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.612 0.237 355.82);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.21 0.014 345.093);
  --secondary-foreground: oklch(0.752 0.031 344.461);
  --accent: oklch(0.279 0.032 346.142);
  --accent-foreground: oklch(0.808 0.033 344.443);
  --destructive: oklch(0.636 0.247 30.374);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.612 0.237 355.82);
  --chart-1: oklch(0.612 0.237 355.82);
  --chart-2: oklch(0.21 0.014 345.093);
  --chart-3: oklch(0.279 0.032 346.142);
  --chart-4: oklch(0.241 0.018 345.239);
  --chart-5: oklch(0.617 0.242 356.341);
}