#871B37#871B37

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

Color values

HEX#871B37
RGBrgb(135, 27, 55)
HSLhsl(344, 67%, 32%)
HSVhsv(344, 80%, 53%)
CMYKcmyk(0%, 80%, 59.3%, 47.1%)
CIE-LABlab(29.94, 46.19, 11.48)
CIE-LCHlch(29.94, 47.59, 13.95°)
OKLaboklab(41.43% 0.1397 0.0286)
OKLCHoklch(41.43% 0.143 11.6)
XYZxyz(11.0743, 6.2122, 4.2296)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B37 #1B876B
analogous
#871B6D #871B37 #87351B
triadic
#871B37 #37871B #1B3787
tetradic
#871B37 #6D871B #1B876B #351B87
square
#871B37 #6D871B #1B876B #351B87
split-complementary
#871B37 #1B8735 #1B6D87
monochromatic
#21070D #541122 #871B37 #BA254C #D9436A

Accessibility & contrast

On white

9.37
#871B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B37
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B37#FFFFFF#000000##FFFFFF
##871B371.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393837
Deuteranopia (green-blind)
#544E34
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871b37;
/* rgb */ color: rgb(135, 27, 55);
/* oklch */ color: oklch(41.4% 0.143 11.6);
Tailwind
colors: {
  custom: {
    50: '#b0636d',
    500: '#871b37',
    950: '#000000',
  },
}
SCSS
$custom: #871b37;
$custom-light: #b0636d;
$custom-dark: #000000;
JSON
{
  "hex": "#871b37",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 55
  },
  "hsl": {
    "h": 344.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.14256,
    "h": 11.6
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#871B37
secondary
#44BA9B
accent
#EABD3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871B37

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

Preview Lab → · Contrast checker → · Palette generator →

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