#871A23#871A23

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

Color values

HEX#871A23
RGBrgb(135, 26, 35)
HSLhsl(355, 68%, 32%)
HSVhsv(355, 81%, 53%)
CMYKcmyk(0%, 80.7%, 74.1%, 47.1%)
CIE-LABlab(29.44, 45.29, 23.97)
CIE-LCHlch(29.44, 51.24, 27.89°)
OKLaboklab(40.94% 0.1325 0.0548)
OKLCHoklch(40.94% 0.143 22.5)
XYZxyz(10.6657, 6.0127, 2.1888)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A23 #1A877E
analogous
#871A5A #871A23 #87481A
triadic
#871A23 #23871A #1A2387
tetradic
#871A23 #5A871A #1A877E #481A87
square
#871A23 #5A871A #1A877E #481A87
split-complementary
#871A23 #1A8748 #1A5A87
monochromatic
#200608 #541016 #871A23 #BA2430 #DA414E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871A23#FFFFFF#000000##FFFFFF
##871A231.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)
#3B3622
Deuteranopia (green-blind)
#564E1F
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a23;
/* rgb */ color: rgb(135, 26, 35);
/* oklch */ color: oklch(40.9% 0.143 22.5);
Tailwind
colors: {
  custom: {
    50: '#b2625e',
    500: '#871a23',
    950: '#000000',
  },
}
SCSS
$custom: #871a23;
$custom-light: #b2625e;
$custom-dark: #000000;
JSON
{
  "hex": "#871a23",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 355.046,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40935,
    "c": 0.14335,
    "h": 22.5
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#871A23
secondary
#42BAB0
accent
#EBDC3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871A23

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

Preview Lab → · Contrast checker → · Palette generator →

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