Agnello Vinheria for shadcn/ui

Agnello Vinheria is a shadcn/ui theme built around a deep red primary color (#581324) with neutral gray accents (#e6e5e5). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep red primary (#581324) on a red-tinted background (#0b0406).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b0406black
Foreground
#0d0205black
#faf5f6whitesmoke
Card
#ffffffwhite
#0b0406black
Card foreground
#0d0205black
#faf5f6whitesmoke
Popover
#ffffffwhite
#0b0406black
Popover foreground
#0d0205black
#faf5f6whitesmoke
Primary
#581324maroon
#581324maroon
Primary foreground
#eeb0bflightpink
#eeb0bflightpink
Secondary
#e6e5e5gainsboro
#212121black
Secondary foreground
#4f4a4bdarkslategray
#bbb9basilver
Muted
#f3eceelinen
#130c0eblack
Muted foreground
#544549darkslategray
#baabafdarkgray
Accent
#e6e5e5gainsboro
#212121black
Accent foreground
#4f4a4bdarkslategray
#bbb9basilver
Destructive
#872b0dsaddlebrown
#d7142acrimson
Destructive foreground
#fad7ccbisque
#ffffffwhite
Border
#f0ebeclinen
#291f21black
Input
#f0ebeclinen
#291f21black
Ring
#581324maroon
#581324maroon

Contrast

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

Light mode
Text on background20.42:1AAA
Text on card20.42:1AAA
Primary button7.55:1AAA
Secondary button6.91:1AA
Muted text7.78:1AAA
Accent6.91:1AA
Destructive6.54:1AA
Dark mode
Text on background18.81:1AAA
Text on card18.81:1AAA
Primary button7.55:1AAA
Secondary button8.25:1AAA
Muted text8.78:1AAA
Accent8.25:1AAA
Destructive5.23:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.118 0.027 0.164);
  --muted: oklch(0.95 0.008 0.091);
  --muted-foreground: oklch(0.407 0.022 1.332);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.118 0.027 0.164);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.118 0.027 0.164);
  --border: oklch(0.943 0.006 0.034);
  --input: oklch(0.943 0.006 0.034);
  --primary: oklch(0.312 0.1 10.565);
  --primary-foreground: oklch(0.817 0.075 2.356);
  --secondary: oklch(0.922 0.002 359.919);
  --secondary-foreground: oklch(0.415 0.006 0.297);
  --accent: oklch(0.922 0.002 359.919);
  --accent-foreground: oklch(0.415 0.006 0.297);
  --destructive: oklch(0.426 0.132 37.104);
  --destructive-foreground: oklch(0.906 0.042 39.294);
  --ring: oklch(0.312 0.1 10.565);
  --chart-1: oklch(0.312 0.1 10.565);
  --chart-2: oklch(0.922 0.002 359.919);
  --chart-3: oklch(0.922 0.002 359.919);
  --chart-4: oklch(0.946 0.001 359.902);
  --chart-5: oklch(0.313 0.103 11.191);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.019 359.934);
  --foreground: oklch(0.974 0.006 0.044);
  --muted: oklch(0.164 0.012 1.879);
  --muted-foreground: oklch(0.755 0.018 0.545);
  --popover: oklch(0.122 0.019 359.934);
  --popover-foreground: oklch(0.974 0.006 0.044);
  --card: oklch(0.122 0.019 359.934);
  --card-foreground: oklch(0.974 0.006 0.044);
  --border: oklch(0.251 0.016 1.62);
  --input: oklch(0.251 0.016 1.62);
  --primary: oklch(0.312 0.1 10.565);
  --primary-foreground: oklch(0.817 0.075 2.356);
  --secondary: oklch(0.248 0.001 359.985);
  --secondary-foreground: oklch(0.788 0.002 359.924);
  --accent: oklch(0.248 0.001 359.985);
  --accent-foreground: oklch(0.788 0.002 359.924);
  --destructive: oklch(0.559 0.219 24.482);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.312 0.1 10.565);
  --chart-1: oklch(0.312 0.1 10.565);
  --chart-2: oklch(0.248 0.001 359.985);
  --chart-3: oklch(0.248 0.001 359.985);
  --chart-4: oklch(0.279 0.001 359.992);
  --chart-5: oklch(0.313 0.103 11.191);
}