#871E62#871E62

#871E62 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.155 H 346.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#871E62
RGBrgb(135, 30, 98)
HSLhsl(321, 64%, 32%)
HSVhsv(321, 78%, 53%)
CMYKcmyk(0%, 77.8%, 27.4%, 47.1%)
CIE-LABlab(31.72, 49.66, -14.22)
CIE-LCHlch(31.72, 51.66, 344.02°)
OKLaboklab(43.2% 0.1508 -0.0377)
OKLCHoklch(43.2% 0.155 346)
XYZxyz(12.6611, 6.9627, 12.2301)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E62 #1E8743
analogous
#781E87 #871E62 #871E2E
triadic
#871E62 #62871E #1E6287
tetradic
#871E62 #87781E #1E8743 #1E2E87
square
#871E62 #87781E #1E8743 #1E2E87
split-complementary
#871E62 #2E871E #1E8778
monochromatic
#230819 #55133E #871E62 #B92986 #D749A5

Accessibility & contrast

On white

8.78
#871E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#871E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E62
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E62#FFFFFF#000000##FFFFFF
##871E621.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F64
Deuteranopia (green-blind)
#4C5160
Tritanopia (blue-blind)
#911B3D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871e62;
/* rgb */ color: rgb(135, 30, 98);
/* oklch */ color: oklch(43.2% 0.155 346.0);
Tailwind
colors: {
  custom: {
    50: '#ae658e',
    500: '#871e62',
    950: '#000000',
  },
}
SCSS
$custom: #871e62;
$custom-light: #ae658e;
$custom-dark: #000000;
JSON
{
  "hex": "#871e62",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 98
  },
  "hsl": {
    "h": 321.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.15544,
    "h": 346
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#871E62
secondary
#48B970
accent
#E77B41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871E62

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

Preview Lab → · Contrast checker → · Palette generator →

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