Right for shadcn/ui

Right is a shadcn/ui theme built around a pink primary color (#bd6184) with red accents (#bd6c61). The light mode uses a neutral background (#ffffff). Dark mode keeps the pink primary (#bd6184) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#040102black
#fdfcfcsnow
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#bd6184palevioletred
#bd6184palevioletred
Primary foreground
#000000black
#000000black
Secondary
#bd61b2mediumorchid
#bd61b2mediumorchid
Secondary foreground
#000000black
#000000black
Muted
#dfd3ddgainsboro
#2c202bdarkslategray
Muted foreground
#675f66dimgray
#a0989fdarkgray
Accent
#bd6c61indianred
#bd6c61indianred
Accent foreground
#000000black
#000000black
Destructive
#802000maroon
#ff6633tomato
Destructive foreground
#ffc6b3peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bd6184palevioletred
#bd6184palevioletred

Contrast

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

Light mode
Text on background20.78:1AAA
Text on card20.54:1AAA
Primary button5.19:1AA
Secondary button5.50:1AA
Muted text4.24:1AA Large
Accent5.45:1AA
Destructive6.60:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.67:1AAA
Primary button5.19:1AA
Secondary button5.50:1AA
Muted text5.53:1AA
Accent5.45:1AA
Destructive7.20:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.084 0.015 351.216);
  --muted: oklch(0.879 0.02 329.393);
  --muted-foreground: oklch(0.497 0.015 329.476);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.61 0.124 357.131);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.628 0.155 331.758);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.618 0.106 28.442);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.397 0.135 36.211);
  --destructive-foreground: oklch(0.872 0.071 39.231);
  --ring: oklch(0.61 0.124 357.131);
  --chart-1: oklch(0.61 0.124 357.131);
  --chart-2: oklch(0.628 0.155 331.758);
  --chart-3: oklch(0.618 0.106 28.442);
  --chart-4: oklch(0.652 0.145 331.501);
  --chart-5: oklch(0.61 0.133 357.57);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.991 0.002 351.643);
  --muted: oklch(0.263 0.027 330.256);
  --muted-foreground: oklch(0.687 0.014 329.363);
  --popover: oklch(0.092 0 180);
  --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.61 0.124 357.131);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.628 0.155 331.758);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.618 0.106 28.442);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.698 0.197 37.979);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.61 0.124 357.131);
  --chart-1: oklch(0.61 0.124 357.131);
  --chart-2: oklch(0.628 0.155 331.758);
  --chart-3: oklch(0.618 0.106 28.442);
  --chart-4: oklch(0.652 0.145 331.501);
  --chart-5: oklch(0.61 0.133 357.57);
}