#871E58#871E58

#871E58 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.150 H 351.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#871E58
RGBrgb(135, 30, 88)
HSLhsl(327, 64%, 32%)
HSVhsv(327, 78%, 53%)
CMYKcmyk(0%, 77.8%, 34.8%, 47.1%)
CIE-LABlab(31.31, 48.41, -8.35)
CIE-LCHlch(31.31, 49.12, 350.21°)
OKLaboklab(42.77% 0.1483 -0.0216)
OKLCHoklch(42.77% 0.15 351.7)
XYZxyz(12.2181, 6.7855, 9.8969)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E58 #1E874D
analogous
#811E87 #871E58 #871E24
triadic
#871E58 #58871E #1E5887
tetradic
#871E58 #87811E #1E874D #1E2487
square
#871E58 #87811E #1E874D #1E2487
split-complementary
#871E58 #24871E #1E8781
monochromatic
#230817 #551337 #871E58 #B92979 #D74997

Accessibility & contrast

On white

8.91
#871E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#871E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E58
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E58#FFFFFF#000000##FFFFFF
##871E581.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5A
Deuteranopia (green-blind)
#4F5056
Tritanopia (blue-blind)
#921538
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871e58;
/* rgb */ color: rgb(135, 30, 88);
/* oklch */ color: oklch(42.8% 0.150 351.7);
Tailwind
colors: {
  custom: {
    50: '#ae6587',
    500: '#871e58',
    950: '#000000',
  },
}
SCSS
$custom: #871e58;
$custom-light: #ae6587;
$custom-dark: #000000;
JSON
{
  "hex": "#871e58",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 326.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.14989,
    "h": 351.7
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#871E58
secondary
#48B97A
accent
#E78B41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871E58

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

Preview Lab → · Contrast checker → · Palette generator →

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