#871F58#871F58

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

Color values

HEX#871F58
RGBrgb(135, 31, 88)
HSLhsl(327, 63%, 33%)
HSVhsv(327, 77%, 53%)
CMYKcmyk(0%, 77%, 34.8%, 47.1%)
CIE-LABlab(31.43, 48.07, -8.17)
CIE-LCHlch(31.43, 48.76, 350.35°)
OKLaboklab(42.86% 0.1473 -0.0211)
OKLCHoklch(42.86% 0.149 351.8)
XYZxyz(12.2438, 6.8369, 9.9055)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F58 #1F874E
analogous
#821F87 #871F58 #871F24
triadic
#871F58 #58871F #1F5887
tetradic
#871F58 #87821F #1F874E #1F2487
square
#871F58 #87821F #1F874E #1F2487
split-complementary
#871F58 #24871F #1F8782
monochromatic
#230817 #551438 #871F58 #B92A78 #D64B97

Accessibility & contrast

On white

8.87
#871F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F58
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F58#FFFFFF#000000##FFFFFF
##871F581.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E59
Deuteranopia (green-blind)
#4F5156
Tritanopia (blue-blind)
#921639
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f58;
/* rgb */ color: rgb(135, 31, 88);
/* oklch */ color: oklch(42.9% 0.149 351.8);
Tailwind
colors: {
  custom: {
    50: '#ae6587',
    500: '#871f58',
    950: '#000000',
  },
}
SCSS
$custom: #871f58;
$custom-light: #ae6587;
$custom-dark: #000000;
JSON
{
  "hex": "#871f58",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 327.115,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42857,
    "c": 0.14877,
    "h": 351.8
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#871F58
secondary
#4AB87C
accent
#E68C42
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871F58

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

Preview Lab → · Contrast checker → · Palette generator →

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