#871E3A#871E3A

#871E3A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.140 H 10.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#871E3A
RGBrgb(135, 30, 58)
HSLhsl(344, 64%, 32%)
HSVhsv(344, 78%, 53%)
CMYKcmyk(0%, 77.8%, 57%, 47.1%)
CIE-LABlab(30.37, 45.42, 10.07)
CIE-LCHlch(30.37, 46.52, 12.50°)
OKLaboklab(41.77% 0.1377 0.0254)
OKLCHoklch(41.77% 0.14 10.4)
XYZxyz(11.2207, 6.3865, 4.6440)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E3A #1E876B
analogous
#871E6F #871E3A #87371E
triadic
#871E3A #3A871E #1E3A87
tetradic
#871E3A #6F871E #1E876B #371E87
square
#871E3A #6F871E #1E876B #371E87
split-complementary
#871E3A #1E8737 #1E6F87
monochromatic
#23080F #551324 #871E3A #B92950 #D7496F

Accessibility & contrast

On white

9.22
#871E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871E3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E3A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E3A#FFFFFF#000000##FFFFFF
##871E3A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A3A
Deuteranopia (green-blind)
#554F37
Tritanopia (blue-blind)
#94002A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871e3a;
/* rgb */ color: rgb(135, 30, 58);
/* oklch */ color: oklch(41.8% 0.140 10.4);
Tailwind
colors: {
  custom: {
    50: '#b0646f',
    500: '#871e3a',
    950: '#000000',
  },
}
SCSS
$custom: #871e3a;
$custom-light: #b0646f;
$custom-dark: #000000;
JSON
{
  "hex": "#871e3a",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 58
  },
  "hsl": {
    "h": 344,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41765,
    "c": 0.14001,
    "h": 10.4
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#871E3A
secondary
#48B99B
accent
#E7BB41
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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