#871E38#871E38

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

Color values

HEX#871E38
RGBrgb(135, 30, 56)
HSLhsl(345, 64%, 32%)
HSVhsv(345, 78%, 53%)
CMYKcmyk(0%, 77.8%, 58.5%, 47.1%)
CIE-LABlab(30.32, 45.27, 11.33)
CIE-LCHlch(30.32, 46.66, 14.05°)
OKLaboklab(41.71% 0.1369 0.0283)
OKLCHoklch(41.71% 0.14 11.7)
XYZxyz(11.1708, 6.3666, 4.3813)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E38 #1E876D
analogous
#871E6C #871E38 #87391E
triadic
#871E38 #38871E #1E3887
tetradic
#871E38 #6C871E #1E876D #391E87
square
#871E38 #6C871E #1E876D #391E87
split-complementary
#871E38 #1E8739 #1E6C87
monochromatic
#23080E #551323 #871E38 #B9294D #D7496C

Accessibility & contrast

On white

9.24
#871E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E38
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E38#FFFFFF#000000##FFFFFF
##871E381.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871e38;
/* rgb */ color: rgb(135, 30, 56);
/* oklch */ color: oklch(41.7% 0.140 11.7);
Tailwind
colors: {
  custom: {
    50: '#b0646e',
    500: '#871e38',
    950: '#000000',
  },
}
SCSS
$custom: #871e38;
$custom-light: #b0646e;
$custom-dark: #000000;
JSON
{
  "hex": "#871e38",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 345.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.13977,
    "h": 11.7
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#871E38
secondary
#48B99D
accent
#E7BE41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871E38

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

Preview Lab → · Contrast checker → · Palette generator →

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