#871B55#871B55

#871B55 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.152 H 353.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#871B55
RGBrgb(135, 27, 85)
HSLhsl(328, 67%, 32%)
HSVhsv(328, 80%, 53%)
CMYKcmyk(0%, 80%, 37%, 47.1%)
CIE-LABlab(30.86, 49.02, -7.07)
CIE-LCHlch(30.86, 49.53, 351.79°)
OKLaboklab(42.4% 0.1505 -0.0181)
OKLCHoklch(42.4% 0.152 353.1)
XYZxyz(12.0241, 6.5921, 9.2318)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B55 #1B874D
analogous
#831B87 #871B55 #871B1F
triadic
#871B55 #55871B #1B5587
tetradic
#871B55 #87831B #1B874D #1B1F87
square
#871B55 #87831B #1B874D #1B1F87
split-complementary
#871B55 #1F871B #1B8783
monochromatic
#210715 #541135 #871B55 #BA2575 #D94394

Accessibility & contrast

On white

9.06
#871B55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#871B55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B55
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B55#FFFFFF#000000##FFFFFF
##871B551.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C56
Deuteranopia (green-blind)
#4F5053
Tritanopia (blue-blind)
#920F36
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871b55;
/* rgb */ color: rgb(135, 27, 85);
/* oklch */ color: oklch(42.4% 0.152 353.1);
Tailwind
colors: {
  custom: {
    50: '#ae6484',
    500: '#871b55',
    950: '#000000',
  },
}
SCSS
$custom: #871b55;
$custom-light: #ae6484;
$custom-dark: #000000;
JSON
{
  "hex": "#871b55",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 85
  },
  "hsl": {
    "h": 327.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42401,
    "c": 0.15161,
    "h": 353.1
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#871B55
secondary
#44BA7B
accent
#EA8E3E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871B55

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

Preview Lab → · Contrast checker → · Palette generator →

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