#871B58#871B58

#871B58 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.153 H 351.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#871B58
RGBrgb(135, 27, 88)
HSLhsl(326, 67%, 32%)
HSVhsv(326, 80%, 53%)
CMYKcmyk(0%, 80%, 34.8%, 47.1%)
CIE-LABlab(30.97, 49.37, -8.86)
CIE-LCHlch(30.97, 50.16, 349.83°)
OKLaboklab(42.52% 0.1514 -0.023)
OKLCHoklch(42.52% 0.153 351.4)
XYZxyz(12.1458, 6.6408, 9.8728)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B58 #1B874A
analogous
#801B87 #871B58 #871B22
triadic
#871B58 #58871B #1B5887
tetradic
#871B58 #87801B #1B874A #1B2287
square
#871B58 #87801B #1B874A #1B2287
split-complementary
#871B58 #22871B #1B8780
monochromatic
#210716 #541137 #871B58 #BA2579 #D94398

Accessibility & contrast

On white

9.02
#871B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#871B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B58
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B58#FFFFFF#000000##FFFFFF
##871B581.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3D5A
Deuteranopia (green-blind)
#4E5056
Tritanopia (blue-blind)
#921137
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871b58;
/* rgb */ color: rgb(135, 27, 88);
/* oklch */ color: oklch(42.5% 0.153 351.4);
Tailwind
colors: {
  custom: {
    50: '#ae6487',
    500: '#871b58',
    950: '#000000',
  },
}
SCSS
$custom: #871b58;
$custom-light: #ae6487;
$custom-dark: #000000;
JSON
{
  "hex": "#871b58",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 326.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.15309,
    "h": 351.4
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#871B58
secondary
#44BA77
accent
#EA893E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871B58

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

Preview Lab → · Contrast checker → · Palette generator →

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