#871A24#871A24

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

Color values

HEX#871A24
RGBrgb(135, 26, 36)
HSLhsl(354, 68%, 32%)
HSVhsv(354, 81%, 53%)
CMYKcmyk(0%, 80.7%, 73.3%, 47.1%)
CIE-LABlab(29.46, 45.33, 23.35)
CIE-LCHlch(29.46, 50.99, 27.25°)
OKLaboklab(40.95% 0.1329 0.0536)
OKLCHoklch(40.95% 0.143 22)
XYZxyz(10.6807, 6.0187, 2.2681)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A24 #1A877D
analogous
#871A5B #871A24 #87471A
triadic
#871A24 #24871A #1A2487
tetradic
#871A24 #5B871A #1A877D #471A87
square
#871A24 #5B871A #1A877D #471A87
split-complementary
#871A24 #1A8747 #1A5B87
monochromatic
#200609 #541016 #871A24 #BA2432 #DA414F

Accessibility & contrast

On white

9.53
#871A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A24
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A24#FFFFFF#000000##FFFFFF
##871A241.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3723
Deuteranopia (green-blind)
#564E20
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #871a24;
/* rgb */ color: rgb(135, 26, 36);
/* oklch */ color: oklch(41.0% 0.143 22.0);
Tailwind
colors: {
  custom: {
    50: '#b2625e',
    500: '#871a24',
    950: '#000000',
  },
}
SCSS
$custom: #871a24;
$custom-light: #b2625e;
$custom-dark: #000000;
JSON
{
  "hex": "#871a24",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 36
  },
  "hsl": {
    "h": 354.495,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.14327,
    "h": 22
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#871A24
secondary
#42BAAF
accent
#EBDB3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #871A24

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

Preview Lab → · Contrast checker → · Palette generator →

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