Professional for shadcn/ui

Professional is a shadcn/ui theme built around a red primary color (#c3573c) with cyan accents (#3ca8c3). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#c3573c) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#120502black
#fdfcfcsnow
Card
#fcfcfcsnow
#030303black
Card foreground
#0e0402black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#120502black
#fdfcfcsnow
Primary
#c3573cindianred
#c3573cindianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#3ca8c3lightseagreen
#3ca8c3lightseagreen
Secondary foreground
#000000black
#000000black
Muted
#e4ebeclavender
#13191bblack
Muted foreground
#4d6166dimgray
#99adb2darkgray
Accent
#3ca8c3lightseagreen
#3ca8c3lightseagreen
Accent foreground
#000000black
#000000black
Destructive
#b5290dfirebrick
#f04624orangered
Destructive foreground
#fef7f5floralwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c3573cindianred
#c3573cindianred

Contrast

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

Light mode
Text on background20.03:1AAA
Text on card19.81:1AAA
Primary button4.42:1AA Large
Secondary button7.58:1AAA
Muted text5.38:1AA
Accent7.58:1AAA
Destructive6.03:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.67:1AAA
Primary button4.42:1AA Large
Secondary button7.58:1AAA
Muted text7.56:1AAA
Accent7.58:1AAA
Destructive3.75:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.139 0.027 42.804);
  --muted: oklch(0.934 0.007 214.338);
  --muted-foreground: oklch(0.477 0.026 214.635);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.139 0.027 42.804);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.124 0.023 44.384);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.588 0.145 35.211);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.682 0.104 217.81);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.682 0.104 217.81);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.506 0.18 32.609);
  --destructive-foreground: oklch(0.981 0.008 31.059);
  --ring: oklch(0.588 0.145 35.211);
  --chart-1: oklch(0.588 0.145 35.211);
  --chart-2: oklch(0.682 0.104 217.81);
  --chart-3: oklch(0.682 0.104 217.81);
  --chart-4: oklch(0.699 0.1 217.166);
  --chart-5: oklch(0.59 0.153 35.206);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.992 0.001 34.317);
  --muted: oklch(0.209 0.01 214.596);
  --muted-foreground: oklch(0.735 0.023 214.451);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.992 0.001 34.317);
  --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.588 0.145 35.211);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.682 0.104 217.81);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.682 0.104 217.81);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.636 0.212 33.047);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.588 0.145 35.211);
  --chart-1: oklch(0.588 0.145 35.211);
  --chart-2: oklch(0.682 0.104 217.81);
  --chart-3: oklch(0.682 0.104 217.81);
  --chart-4: oklch(0.699 0.1 217.166);
  --chart-5: oklch(0.59 0.153 35.206);
}