#871E27#871E27

#871E27 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.140 H 21.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#871E27
RGBrgb(135, 30, 39)
HSLhsl(355, 64%, 32%)
HSVhsv(355, 78%, 53%)
CMYKcmyk(0%, 77.8%, 71.1%, 47.1%)
CIE-LABlab(29.98, 44.16, 22.05)
CIE-LCHlch(29.98, 49.36, 26.53°)
OKLaboklab(41.35% 0.1298 0.0513)
OKLCHoklch(41.35% 0.14 21.5)
XYZxyz(10.8234, 6.2276, 2.5512)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E27 #1E877E
analogous
#871E5C #871E27 #87491E
triadic
#871E27 #27871E #1E2787
tetradic
#871E27 #5C871E #1E877E #491E87
square
#871E27 #5C871E #1E877E #491E87
split-complementary
#871E27 #1E8749 #1E5C87
monochromatic
#23080A #551319 #871E27 #B92935 #D74955

Accessibility & contrast

On white

9.35
#871E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E27
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E27#FFFFFF#000000##FFFFFF
##871E271.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3826
Deuteranopia (green-blind)
#574F24
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e27;
/* rgb */ color: rgb(135, 30, 39);
/* oklch */ color: oklch(41.4% 0.140 21.5);
Tailwind
colors: {
  custom: {
    50: '#b16461',
    500: '#871e27',
    950: '#000000',
  },
}
SCSS
$custom: #871e27;
$custom-light: #b16461;
$custom-dark: #000000;
JSON
{
  "hex": "#871e27",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 354.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41353,
    "c": 0.13958,
    "h": 21.5
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#871E27
secondary
#48B9AF
accent
#E7D841
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #871E27

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

Preview Lab → · Contrast checker → · Palette generator →

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