#821A23#821A23

#821A23 is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.138 H 22.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#821A23
RGBrgb(130, 26, 35)
HSLhsl(355, 67%, 31%)
HSVhsv(355, 80%, 51%)
CMYKcmyk(0%, 80%, 73.1%, 49%)
CIE-LABlab(28.40, 43.71, 22.48)
CIE-LCHlch(28.40, 49.16, 27.21°)
OKLaboklab(39.97% 0.1282 0.0518)
OKLCHoklch(39.97% 0.138 22)
XYZxyz(9.8798, 5.6075, 2.1519)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A23 #1A8279
analogous
#821A57 #821A23 #82451A
triadic
#821A23 #23821A #1A2382
tetradic
#821A23 #57821A #1A8279 #451A82
square
#821A23 #57821A #1A8279 #451A82
split-complementary
#821A23 #1A8245 #1A5782
monochromatic
#1C0608 #4F1015 #821A23 #B52431 #D83E4B

Accessibility & contrast

On white

9.90
#821A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#821A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821A23
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A23#FFFFFF#000000##FFFFFF
##821A231.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393522
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#8F001E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #821a23;
/* rgb */ color: rgb(130, 26, 35);
/* oklch */ color: oklch(40.0% 0.138 22.0);
Tailwind
colors: {
  custom: {
    50: '#ae615d',
    500: '#821a23',
    950: '#000000',
  },
}
SCSS
$custom: #821a23;
$custom-light: #ae615d;
$custom-dark: #000000;
JSON
{
  "hex": "#821a23",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 354.808,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.13823,
    "h": 22
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#821A23
secondary
#42B6AC
accent
#EADB3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #821A23

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#821A23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva