Antique Ruby Rook for shadcn/ui

Antique Ruby Rook is a shadcn/ui theme built around a red primary color (#841a2c) with blue accents (#1a2c84). The light mode uses a neutral background (#fdf7f8). Dark mode keeps the red primary (#841a2c) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#fdf7f8snow
#030202black
Foreground
#120205black
#faf5f6whitesmoke
Card
#fcf3f4lavenderblush
#070304black
Card foreground
#0e0204black
#fbf8f9snow
Popover
#fcf3f4lavenderblush
#070304black
Popover foreground
#0e0204black
#fbf8f9snow
Primary
#841a2cbrown
#841a2cbrown
Primary foreground
#f7d9demistyrose
#f7d9demistyrose
Secondary
#2c841aforestgreen
#2c841aforestgreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8efe7beige
#121810black
Muted foreground
#3d443bdarkslategray
#bcc4bbsilver
Accent
#1a2c84midnightblue
#1a2c84midnightblue
Accent foreground
#d9def7lavender
#d9def7lavender
Destructive
#d53a07orangered
#e94007orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e8e3e4gainsboro
#292324darkslategray
Input
#e8e3e4gainsboro
#292324darkslategray
Ring
#841a2cbrown
#841a2cbrown

Contrast

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

Light mode
Text on background19.11:1AAA
Text on card18.69:1AAA
Primary button7.35:1AAA
Secondary button4.74:1AA
Muted text8.56:1AAA
Accent9.07:1AAA
Destructive4.73:1AA
Dark mode
Text on background19.21:1AAA
Text on card19.40:1AAA
Primary button7.35:1AAA
Secondary button4.74:1AA
Muted text10.06:1AAA
Accent9.07:1AAA
Destructive4.05:1AA Large

CSS variables

Paste this into your globals.css to use Antique Ruby Rook in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.007 5.625);
  --foreground: oklch(0.128 0.036 8.119);
  --muted: oklch(0.944 0.013 140.51);
  --muted-foreground: oklch(0.378 0.018 140.459);
  --popover: oklch(0.971 0.01 5.716);
  --popover-foreground: oklch(0.115 0.031 6.875);
  --card: oklch(0.971 0.01 5.716);
  --card-foreground: oklch(0.115 0.031 6.875);
  --border: oklch(0.921 0.005 5.576);
  --input: oklch(0.921 0.005 5.576);
  --primary: oklch(0.405 0.14 17.473);
  --primary-foreground: oklch(0.911 0.035 6.424);
  --secondary: oklch(0.54 0.162 140.818);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.343 0.149 268.239);
  --accent-foreground: oklch(0.904 0.035 276.687);
  --destructive: oklch(0.578 0.198 35.35);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.405 0.14 17.473);
  --chart-1: oklch(0.405 0.14 17.473);
  --chart-2: oklch(0.54 0.162 140.818);
  --chart-3: oklch(0.343 0.149 268.239);
  --chart-4: oklch(0.577 0.174 140.839);
  --chart-5: oklch(0.408 0.144 18.137);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.008 5.753);
  --foreground: oklch(0.974 0.005 5.582);
  --muted: oklch(0.201 0.019 140.395);
  --muted-foreground: oklch(0.811 0.015 140.503);
  --popover: oklch(0.109 0.01 5.753);
  --popover-foreground: oklch(0.983 0.003 5.537);
  --card: oklch(0.109 0.01 5.753);
  --card-foreground: oklch(0.983 0.003 5.537);
  --border: oklch(0.264 0.009 6.361);
  --input: oklch(0.264 0.009 6.361);
  --primary: oklch(0.405 0.14 17.473);
  --primary-foreground: oklch(0.911 0.035 6.424);
  --secondary: oklch(0.54 0.162 140.818);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.343 0.149 268.239);
  --accent-foreground: oklch(0.904 0.035 276.687);
  --destructive: oklch(0.617 0.212 35.22);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.405 0.14 17.473);
  --chart-1: oklch(0.405 0.14 17.473);
  --chart-2: oklch(0.54 0.162 140.818);
  --chart-3: oklch(0.343 0.149 268.239);
  --chart-4: oklch(0.577 0.174 140.839);
  --chart-5: oklch(0.408 0.144 18.137);
}