#871D2E#871D2E

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

Color values

HEX#871D2E
RGBrgb(135, 29, 46)
HSLhsl(350, 65%, 32%)
HSVhsv(350, 79%, 53%)
CMYKcmyk(0%, 78.5%, 65.9%, 47.1%)
CIE-LABlab(29.98, 44.91, 17.49)
CIE-LCHlch(29.98, 48.20, 21.27°)
OKLaboklab(41.39% 0.1338 0.042)
OKLCHoklch(41.39% 0.14 17.4)
XYZxyz(10.9253, 6.2285, 3.2112)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D2E #1D8776
analogous
#871D63 #871D2E #87411D
triadic
#871D2E #2E871D #1D2E87
tetradic
#871D2E #63871D #1D8776 #411D87
square
#871D2E #63871D #1D8776 #411D87
split-complementary
#871D2E #1D8741 #1D6387
monochromatic
#22070C #55121D #871D2E #B9283F #D7475E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871D2E#FFFFFF#000000##FFFFFF
##871D2E1.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)
#3B382E
Deuteranopia (green-blind)
#564F2B
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d2e;
/* rgb */ color: rgb(135, 29, 46);
/* oklch */ color: oklch(41.4% 0.140 17.4);
Tailwind
colors: {
  custom: {
    50: '#b16366',
    500: '#871d2e',
    950: '#000000',
  },
}
SCSS
$custom: #871d2e;
$custom-light: #b16366;
$custom-dark: #000000;
JSON
{
  "hex": "#871d2e",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 350.377,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.14023,
    "h": 17.4
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#871D2E
secondary
#46B9A7
accent
#E8CD40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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