#871B2B#871B2B

#871B2B is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.142 H 18.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#871B2B
RGBrgb(135, 27, 43)
HSLhsl(351, 67%, 32%)
HSVhsv(351, 80%, 53%)
CMYKcmyk(0%, 80%, 68.1%, 47.1%)
CIE-LABlab(29.69, 45.39, 19.08)
CIE-LCHlch(29.69, 49.24, 22.80°)
OKLaboklab(41.16% 0.1347 0.0452)
OKLCHoklch(41.16% 0.142 18.6)
XYZxyz(10.8208, 6.1108, 2.8948)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B2B #1B8777
analogous
#871B61 #871B2B #87411B
triadic
#871B2B #2B871B #1B2B87
tetradic
#871B2B #61871B #1B8777 #411B87
square
#871B2B #61871B #1B8777 #411B87
split-complementary
#871B2B #1B8741 #1B6187
monochromatic
#21070B #54111B #871B2B #BA253B #D94359

Accessibility & contrast

On white

9.45
#871B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B2B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B2B#FFFFFF#000000##FFFFFF
##871B2B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B372B
Deuteranopia (green-blind)
#564E28
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b2b;
/* rgb */ color: rgb(135, 27, 43);
/* oklch */ color: oklch(41.2% 0.142 18.6);
Tailwind
colors: {
  custom: {
    50: '#b16264',
    500: '#871b2b',
    950: '#000000',
  },
}
SCSS
$custom: #871b2b;
$custom-light: #b16264;
$custom-dark: #000000;
JSON
{
  "hex": "#871b2b",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 351.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4116,
    "c": 0.14206,
    "h": 18.6
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#871B2B
secondary
#44BAA9
accent
#EAD03E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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