#871B2C#871B2C

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

Color values

HEX#871B2C
RGBrgb(135, 27, 44)
HSLhsl(351, 67%, 32%)
HSVhsv(351, 80%, 53%)
CMYKcmyk(0%, 80%, 67.4%, 47.1%)
CIE-LABlab(29.71, 45.45, 18.45)
CIE-LCHlch(29.71, 49.05, 22.10°)
OKLaboklab(41.18% 0.1351 0.0439)
OKLCHoklch(41.18% 0.142 18)
XYZxyz(10.8394, 6.1183, 2.9926)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B2C #1B8776
analogous
#871B62 #871B2C #87401B
triadic
#871B2C #2C871B #1B2C87
tetradic
#871B2C #62871B #1B8776 #401B87
square
#871B2C #62871B #1B8776 #401B87
split-complementary
#871B2C #1B8740 #1B6287
monochromatic
#21070B #54111B #871B2C #BA253D #D9435B

Accessibility & contrast

On white

9.44
#871B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B2C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B2C#FFFFFF#000000##FFFFFF
##871B2C1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b2c;
/* rgb */ color: rgb(135, 27, 44);
/* oklch */ color: oklch(41.2% 0.142 18.0);
Tailwind
colors: {
  custom: {
    50: '#b16264',
    500: '#871b2c',
    950: '#000000',
  },
}
SCSS
$custom: #871b2c;
$custom-light: #b16264;
$custom-dark: #000000;
JSON
{
  "hex": "#871b2c",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 350.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.14204,
    "h": 18
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#871B2C
secondary
#44BAA7
accent
#EACF3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #871B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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