#871F59#871F59

#871F59 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.149 H 351.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#871F59
RGBrgb(135, 31, 89)
HSLhsl(327, 63%, 33%)
HSVhsv(327, 77%, 53%)
CMYKcmyk(0%, 77%, 34.1%, 47.1%)
CIE-LABlab(31.47, 48.19, -8.76)
CIE-LCHlch(31.47, 48.98, 349.69°)
OKLaboklab(42.9% 0.1475 -0.0227)
OKLCHoklch(42.9% 0.149 351.2)
XYZxyz(12.2855, 6.8536, 10.1252)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F59 #1F874D
analogous
#811F87 #871F59 #871F25
triadic
#871F59 #59871F #1F5987
tetradic
#871F59 #87811F #1F874D #1F2587
square
#871F59 #87811F #1F874D #1F2587
split-complementary
#871F59 #25871F #1F8781
monochromatic
#230817 #551438 #871F59 #B92A7A #D64B98

Accessibility & contrast

On white

8.86
#871F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#871F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F59
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F59#FFFFFF#000000##FFFFFF
##871F591.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5B
Deuteranopia (green-blind)
#4F5157
Tritanopia (blue-blind)
#911739
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f59;
/* rgb */ color: rgb(135, 31, 89);
/* oklch */ color: oklch(42.9% 0.149 351.2);
Tailwind
colors: {
  custom: {
    50: '#ae6587',
    500: '#871f59',
    950: '#000000',
  },
}
SCSS
$custom: #871f59;
$custom-light: #ae6587;
$custom-dark: #000000;
JSON
{
  "hex": "#871f59",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 326.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.14928,
    "h": 351.2
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#871F59
secondary
#4AB87B
accent
#E68A42
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871F59

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

Preview Lab → · Contrast checker → · Palette generator →

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