#871B39#871B39

#871B39 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.143 H 10.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#871B39
RGBrgb(135, 27, 57)
HSLhsl(343, 67%, 32%)
HSVhsv(343, 80%, 53%)
CMYKcmyk(0%, 80%, 57.8%, 47.1%)
CIE-LABlab(29.99, 46.34, 10.21)
CIE-LCHlch(29.99, 47.45, 12.43°)
OKLaboklab(41.48% 0.1405 0.0257)
OKLCHoklch(41.48% 0.143 10.4)
XYZxyz(11.1232, 6.2318, 4.4872)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B39 #1B8769
analogous
#871B6F #871B39 #87331B
triadic
#871B39 #39871B #1B3987
tetradic
#871B39 #6F871B #1B8769 #331B87
square
#871B39 #6F871B #1B8769 #331B87
split-complementary
#871B39 #1B8733 #1B6F87
monochromatic
#21070E #541123 #871B39 #BA254F #D9436D

Accessibility & contrast

On white

9.35
#871B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B39
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B39#FFFFFF#000000##FFFFFF
##871B391.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383939
Deuteranopia (green-blind)
#544E36
Tritanopia (blue-blind)
#940028
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871b39;
/* rgb */ color: rgb(135, 27, 57);
/* oklch */ color: oklch(41.5% 0.143 10.4);
Tailwind
colors: {
  custom: {
    50: '#b0636f',
    500: '#871b39',
    950: '#000000',
  },
}
SCSS
$custom: #871b39;
$custom-light: #b0636f;
$custom-dark: #000000;
JSON
{
  "hex": "#871b39",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 343.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41479,
    "c": 0.14281,
    "h": 10.4
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#871B39
secondary
#44BA99
accent
#EABA3E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871B39

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

Preview Lab → · Contrast checker → · Palette generator →

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