Velvet Cupcake Moose for shadcn/ui

Velvet Cupcake Moose is a shadcn/ui theme built around a vivid pink primary color (#a8056c) with vivid red accents (#a8051b). The light mode uses a neutral background (#fcf8fa). Dark mode keeps the vivid pink primary (#a8056c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fcf8fasnow
#000000black
Foreground
#040103black
#ffffffwhite
Card
#faf5f8whitesmoke
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf8fasnow
#000000black
Popover foreground
#040103black
#ffffffwhite
Primary
#a8056cdarkmagenta
#a8056cdarkmagenta
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#9205a8darkmagenta
#9205a8darkmagenta
Secondary foreground
#fae1felavenderblush
#fae1felavenderblush
Muted
#f3f1f4whitesmoke
#0e0b0eblack
Muted foreground
#474148darkslategray
#bdb7besilver
Accent
#a8051bfirebrick
#a8051bfirebrick
Accent foreground
#fee1e5mistyrose
#fee1e5mistyrose
Destructive
#d52f01orangered
#fe3c06orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#ebe6e9lavender
#2a2227darkslategray
Input
#ebe6e9lavender
#2a2227darkslategray
Ring
#a8056cdarkmagenta
#a8056cdarkmagenta

Contrast

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

Light mode
Text on background19.74:1AAA
Text on card19.45:1AAA
Primary button7.21:1AAA
Secondary button6.12:1AA
Muted text8.81:1AAA
Accent6.32:1AA
Destructive4.95:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.21:1AAA
Secondary button6.12:1AA
Muted text9.94:1AAA
Accent6.32:1AA
Destructive3.58:1AA Large

CSS variables

Paste this into your globals.css to use Velvet Cupcake Moose in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.983 0.005 338.818);
  --foreground: oklch(0.085 0.017 338.979);
  --muted: oklch(0.96 0.005 321.607);
  --muted-foreground: oklch(0.385 0.014 321.692);
  --popover: oklch(0.983 0.005 338.818);
  --popover-foreground: oklch(0.085 0.017 338.979);
  --card: oklch(0.974 0.007 338.869);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.007 338.879);
  --input: oklch(0.928 0.007 338.879);
  --primary: oklch(0.484 0.199 350.799);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.481 0.227 321.024);
  --secondary-foreground: oklch(0.939 0.047 321.728);
  --accent: oklch(0.463 0.185 24.861);
  --accent-foreground: oklch(0.935 0.032 8.582);
  --destructive: oklch(0.569 0.207 33.53);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.484 0.199 350.799);
  --chart-1: oklch(0.484 0.199 350.799);
  --chart-2: oklch(0.481 0.227 321.024);
  --chart-3: oklch(0.463 0.185 24.861);
  --chart-4: oklch(0.511 0.241 320.982);
  --chart-5: oklch(0.488 0.201 351.173);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.155 0.008 321.729);
  --muted-foreground: oklch(0.785 0.012 321.634);
  --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.264 0.016 339.96);
  --input: oklch(0.264 0.016 339.96);
  --primary: oklch(0.484 0.199 350.799);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.481 0.227 321.024);
  --secondary-foreground: oklch(0.939 0.047 321.728);
  --accent: oklch(0.463 0.185 24.861);
  --accent-foreground: oklch(0.935 0.032 8.582);
  --destructive: oklch(0.651 0.234 33.577);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.484 0.199 350.799);
  --chart-1: oklch(0.484 0.199 350.799);
  --chart-2: oklch(0.481 0.227 321.024);
  --chart-3: oklch(0.463 0.185 24.861);
  --chart-4: oklch(0.511 0.241 320.982);
  --chart-5: oklch(0.488 0.201 351.173);
}