#871B2E#871B2E

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

Color values

HEX#871B2E
RGBrgb(135, 27, 46)
HSLhsl(349, 67%, 32%)
HSVhsv(349, 80%, 53%)
CMYKcmyk(0%, 80%, 65.9%, 47.1%)
CIE-LABlab(29.75, 45.57, 17.18)
CIE-LCHlch(29.75, 48.70, 20.66°)
OKLaboklab(41.22% 0.1359 0.0413)
OKLCHoklch(41.22% 0.142 16.9)
XYZxyz(10.8779, 6.1337, 3.1954)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B2E #1B8774
analogous
#871B64 #871B2E #873E1B
triadic
#871B2E #2E871B #1B2E87
tetradic
#871B2E #64871B #1B8774 #3E1B87
square
#871B2E #64871B #1B8774 #3E1B87
split-complementary
#871B2E #1B873E #1B6487
monochromatic
#21070B #54111D #871B2E #BA253F #D9435D

Accessibility & contrast

On white

9.43
#871B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B2E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B2E#FFFFFF#000000##FFFFFF
##871B2E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b2e;
/* rgb */ color: rgb(135, 27, 46);
/* oklch */ color: oklch(41.2% 0.142 16.9);
Tailwind
colors: {
  custom: {
    50: '#b16366',
    500: '#871b2e',
    950: '#000000',
  },
}
SCSS
$custom: #871b2e;
$custom-light: #b16366;
$custom-dark: #000000;
JSON
{
  "hex": "#871b2e",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 349.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.14203,
    "h": 16.9
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#871B2E
secondary
#44BAA5
accent
#EACB3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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