#871E2E#871E2E

#871E2E is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.139 H 17.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#871E2E
RGBrgb(135, 30, 46)
HSLhsl(351, 64%, 32%)
HSVhsv(351, 78%, 53%)
CMYKcmyk(0%, 77.8%, 65.9%, 47.1%)
CIE-LABlab(30.10, 44.57, 17.64)
CIE-LCHlch(30.10, 47.94, 21.60°)
OKLaboklab(41.49% 0.1327 0.0423)
OKLCHoklch(41.49% 0.139 17.7)
XYZxyz(10.9503, 6.2783, 3.2195)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E2E #1E8777
analogous
#871E63 #871E2E #87421E
triadic
#871E2E #2E871E #1E2E87
tetradic
#871E2E #63871E #1E8777 #421E87
square
#871E2E #63871E #1E8777 #421E87
split-complementary
#871E2E #1E8742 #1E6387
monochromatic
#23080C #55131D #871E2E #B9293F #D7495E

Accessibility & contrast

On white

9.31
#871E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E2E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E2E#FFFFFF#000000##FFFFFF
##871E2E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392E
Deuteranopia (green-blind)
#564F2B
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e2e;
/* rgb */ color: rgb(135, 30, 46);
/* oklch */ color: oklch(41.5% 0.139 17.7);
Tailwind
colors: {
  custom: {
    50: '#b16466',
    500: '#871e2e',
    950: '#000000',
  },
}
SCSS
$custom: #871e2e;
$custom-light: #b16466;
$custom-dark: #000000;
JSON
{
  "hex": "#871e2e",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 350.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41485,
    "c": 0.13928,
    "h": 17.7
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#871E2E
secondary
#48B9A8
accent
#E7CD41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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