#871E37#871E37

#871E37 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.140 H 12.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#871E37
RGBrgb(135, 30, 55)
HSLhsl(346, 64%, 32%)
HSVhsv(346, 78%, 53%)
CMYKcmyk(0%, 77.8%, 59.3%, 47.1%)
CIE-LABlab(30.30, 45.19, 11.96)
CIE-LCHlch(30.30, 46.74, 14.82°)
OKLaboklab(41.69% 0.1364 0.0298)
OKLCHoklch(41.69% 0.14 12.3)
XYZxyz(11.1466, 6.3569, 4.2537)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E37 #1E876E
analogous
#871E6C #871E37 #87391E
triadic
#871E37 #37871E #1E3787
tetradic
#871E37 #6C871E #1E876E #391E87
square
#871E37 #6C871E #1E876E #391E87
split-complementary
#871E37 #1E8739 #1E6C87
monochromatic
#23080E #551323 #871E37 #B9294B #D7496B

Accessibility & contrast

On white

9.25
#871E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871E37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E37
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E37#FFFFFF#000000##FFFFFF
##871E371.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A37
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e37;
/* rgb */ color: rgb(135, 30, 55);
/* oklch */ color: oklch(41.7% 0.140 12.3);
Tailwind
colors: {
  custom: {
    50: '#b0646d',
    500: '#871e37',
    950: '#000000',
  },
}
SCSS
$custom: #871e37;
$custom-light: #b0646d;
$custom-dark: #000000;
JSON
{
  "hex": "#871e37",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 55
  },
  "hsl": {
    "h": 345.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41689,
    "c": 0.13966,
    "h": 12.3
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#871E37
secondary
#48B99E
accent
#E7BF41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871E37

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

Preview Lab → · Contrast checker → · Palette generator →

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