Tinted for shadcn/ui

Tinted is a shadcn/ui theme built around a vivid pink primary color (#f075b9) with vivid blue accents (#75b9f0). The light mode uses a neutral background (#fdf6fa). Dark mode keeps the vivid pink primary (#f075b9) on a pink-tinted background (#0f060b).

Color palette

TokenLightDark
Background
#fdf6fasnow
#0f060bblack
Foreground
#12030bblack
#fdfcfcsnow
Card
#fcf2f8lavenderblush
#12070dblack
Card foreground
#0d0208black
#ffffffwhite
Popover
#fdf6fasnow
#0f060bblack
Popover foreground
#12030bblack
#fdfcfcsnow
Primary
#f075b9hotpink
#f075b9hotpink
Primary foreground
#2e051cblack
#2e051cblack
Secondary
#b9f075lightgreen
#b9f075lightgreen
Secondary foreground
#1c2e05black
#1c2e05black
Muted
#edefeblinen
#121410black
Muted foreground
#4f514ddarkslategray
#b0b2aedarkgray
Accent
#75b9f0skyblue
#75b9f0skyblue
Accent foreground
#051c2eblack
#051c2eblack
Destructive
#702900saddlebrown
#ff7e33coral
Destructive foreground
#ffc5a3navajowhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f075b9hotpink
#f075b9hotpink

Contrast

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

Light mode
Text on background18.98:1AAA
Text on card18.69:1AAA
Primary button6.87:1AA
Secondary button10.97:1AAA
Muted text6.94:1AA
Accent8.19:1AAA
Destructive6.84:1AA
Dark mode
Text on background19.54:1AAA
Text on card19.74:1AAA
Primary button6.87:1AA
Secondary button10.97:1AAA
Muted text8.67:1AAA
Accent8.19:1AAA
Destructive8.27:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.009 342.837);
  --foreground: oklch(0.133 0.037 345.201);
  --muted: oklch(0.95 0.006 126.503);
  --muted-foreground: oklch(0.433 0.008 126.671);
  --popover: oklch(0.981 0.009 342.837);
  --popover-foreground: oklch(0.133 0.037 345.201);
  --card: oklch(0.971 0.013 342.949);
  --card-foreground: oklch(0.119 0.033 343.226);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.725 0.17 347.999);
  --primary-foreground: oklch(0.207 0.073 351.142);
  --secondary: oklch(0.892 0.165 129.296);
  --secondary-foreground: oklch(0.276 0.068 130.859);
  --accent: oklch(0.761 0.106 244.522);
  --accent-foreground: oklch(0.217 0.047 246.084);
  --destructive: oklch(0.381 0.111 43.977);
  --destructive-foreground: oklch(0.867 0.081 51.387);
  --ring: oklch(0.725 0.17 347.999);
  --chart-1: oklch(0.725 0.17 347.999);
  --chart-2: oklch(0.892 0.165 129.296);
  --chart-3: oklch(0.761 0.106 244.522);
  --chart-4: oklch(0.902 0.15 128.918);
  --chart-5: oklch(0.725 0.175 348.201);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.021 344.308);
  --foreground: oklch(0.992 0.001 342.649);
  --muted: oklch(0.187 0.008 127.006);
  --muted-foreground: oklch(0.761 0.007 126.548);
  --popover: oklch(0.138 0.021 344.308);
  --popover-foreground: oklch(0.992 0.001 342.649);
  --card: oklch(0.15 0.024 345.647);
  --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.725 0.17 347.999);
  --primary-foreground: oklch(0.207 0.073 351.142);
  --secondary: oklch(0.892 0.165 129.296);
  --secondary-foreground: oklch(0.276 0.068 130.859);
  --accent: oklch(0.761 0.106 244.522);
  --accent-foreground: oklch(0.217 0.047 246.084);
  --destructive: oklch(0.731 0.178 46.912);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.725 0.17 347.999);
  --chart-1: oklch(0.725 0.17 347.999);
  --chart-2: oklch(0.892 0.165 129.296);
  --chart-3: oklch(0.761 0.106 244.522);
  --chart-4: oklch(0.902 0.15 128.918);
  --chart-5: oklch(0.725 0.175 348.201);
}