#871D2B#871D2B

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

Color values

HEX#871D2B
RGBrgb(135, 29, 43)
HSLhsl(352, 65%, 32%)
HSVhsv(352, 79%, 53%)
CMYKcmyk(0%, 78.5%, 68.1%, 47.1%)
CIE-LABlab(29.93, 44.73, 19.38)
CIE-LCHlch(29.93, 48.75, 23.43°)
OKLaboklab(41.34% 0.1326 0.0459)
OKLCHoklch(41.34% 0.14 19.1)
XYZxyz(10.8683, 6.2057, 2.9106)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D2B #1D8779
analogous
#871D60 #871D2B #87441D
triadic
#871D2B #2B871D #1D2B87
tetradic
#871D2B #60871D #1D8779 #441D87
square
#871D2B #60871D #1D8779 #441D87
split-complementary
#871D2B #1D8744 #1D6087
monochromatic
#22070B #55121B #871D2B #B9283B #D7475A

Accessibility & contrast

On white

9.37
#871D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D2B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D2B#FFFFFF#000000##FFFFFF
##871D2B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C382B
Deuteranopia (green-blind)
#564F28
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871d2b;
/* rgb */ color: rgb(135, 29, 43);
/* oklch */ color: oklch(41.3% 0.140 19.1);
Tailwind
colors: {
  custom: {
    50: '#b16364',
    500: '#871d2b',
    950: '#000000',
  },
}
SCSS
$custom: #871d2b;
$custom-light: #b16364;
$custom-dark: #000000;
JSON
{
  "hex": "#871d2b",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 352.075,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41335,
    "c": 0.14027,
    "h": 19.1
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#871D2B
secondary
#46B9AA
accent
#E8D240
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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