#871F2B#871F2B

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

Color values

HEX#871F2B
RGBrgb(135, 31, 43)
HSLhsl(353, 63%, 33%)
HSVhsv(353, 77%, 53%)
CMYKcmyk(0%, 77%, 68.1%, 47.1%)
CIE-LABlab(30.17, 44.04, 19.69)
CIE-LCHlch(30.17, 48.24, 24.10°)
OKLaboklab(41.52% 0.1303 0.0466)
OKLCHoklch(41.52% 0.138 19.7)
XYZxyz(10.9189, 6.3069, 2.9275)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F2B #1F877B
analogous
#871F5F #871F2B #87471F
triadic
#871F2B #2B871F #1F2B87
tetradic
#871F2B #5F871F #1F877B #471F87
square
#871F2B #5F871F #1F877B #471F87
split-complementary
#871F2B #1F8747 #1F5F87
monochromatic
#23080B #55141B #871F2B #B92A3B #D64B5B

Accessibility & contrast

On white

9.29
#871F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F2B
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F2B#FFFFFF#000000##FFFFFF
##871F2B1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392B
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f2b;
/* rgb */ color: rgb(135, 31, 43);
/* oklch */ color: oklch(41.5% 0.138 19.7);
Tailwind
colors: {
  custom: {
    50: '#b16464',
    500: '#871f2b',
    950: '#000000',
  },
}
SCSS
$custom: #871f2b;
$custom-light: #b16464;
$custom-dark: #000000;
JSON
{
  "hex": "#871f2b",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 353.077,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41519,
    "c": 0.13841,
    "h": 19.7
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#871F2B
secondary
#4AB8AB
accent
#E6D342
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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