#871B2A#871B2A

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

Color values

HEX#871B2A
RGBrgb(135, 27, 42)
HSLhsl(352, 67%, 32%)
HSVhsv(352, 80%, 53%)
CMYKcmyk(0%, 80%, 68.9%, 47.1%)
CIE-LABlab(29.67, 45.33, 19.72)
CIE-LCHlch(29.67, 49.44, 23.51°)
OKLaboklab(41.14% 0.1343 0.0465)
OKLCHoklch(41.14% 0.142 19.1)
XYZxyz(10.8027, 6.1036, 2.7993)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B2A #1B8778
analogous
#871B60 #871B2A #87421B
triadic
#871B2A #2A871B #1B2A87
tetradic
#871B2A #60871B #1B8778 #421B87
square
#871B2A #60871B #1B8778 #421B87
split-complementary
#871B2A #1B8742 #1B6087
monochromatic
#21070A #54111A #871B2A #BA253A #D94358

Accessibility & contrast

On white

9.46
#871B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B2A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B2A#FFFFFF#000000##FFFFFF
##871B2A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b2a;
/* rgb */ color: rgb(135, 27, 42);
/* oklch */ color: oklch(41.1% 0.142 19.1);
Tailwind
colors: {
  custom: {
    50: '#b16263',
    500: '#871b2a',
    950: '#000000',
  },
}
SCSS
$custom: #871b2a;
$custom-light: #b16263;
$custom-dark: #000000;
JSON
{
  "hex": "#871b2a",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 351.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41141,
    "c": 0.14209,
    "h": 19.1
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#871B2A
secondary
#44BAAA
accent
#EAD23E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #871B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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