#871A22#871A22

#871A22 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.143 H 22.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#871A22
RGBrgb(135, 26, 34)
HSLhsl(356, 68%, 32%)
HSVhsv(356, 81%, 53%)
CMYKcmyk(0%, 80.7%, 74.8%, 47.1%)
CIE-LABlab(29.43, 45.24, 24.59)
CIE-LCHlch(29.43, 51.49, 28.53°)
OKLaboklab(40.92% 0.1321 0.0559)
OKLCHoklch(40.92% 0.143 22.9)
XYZxyz(10.6510, 6.0069, 2.1117)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A22 #1A877F
analogous
#871A59 #871A22 #87491A
triadic
#871A22 #22871A #1A2287
tetradic
#871A22 #59871A #1A877F #491A87
square
#871A22 #59871A #1A877F #491A87
split-complementary
#871A22 #1A8749 #1A5987
monochromatic
#200608 #541015 #871A22 #BA242F #DA414C

Accessibility & contrast

On white

9.54
#871A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#871A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A22
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A22#FFFFFF#000000##FFFFFF
##871A221.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3621
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a22;
/* rgb */ color: rgb(135, 26, 34);
/* oklch */ color: oklch(40.9% 0.143 22.9);
Tailwind
colors: {
  custom: {
    50: '#b2625d',
    500: '#871a22',
    950: '#000000',
  },
}
SCSS
$custom: #871a22;
$custom-light: #b2625d;
$custom-dark: #000000;
JSON
{
  "hex": "#871a22",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 355.596,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4092,
    "c": 0.14344,
    "h": 22.9
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#871A22
secondary
#42BAB2
accent
#EBDE3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871A22

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

Preview Lab → · Contrast checker → · Palette generator →

#871A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva