#871F62#871F62

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

Color values

HEX#871F62
RGBrgb(135, 31, 98)
HSLhsl(321, 63%, 33%)
HSVhsv(321, 77%, 53%)
CMYKcmyk(0%, 77%, 27.4%, 47.1%)
CIE-LABlab(31.84, 49.33, -14.04)
CIE-LCHlch(31.84, 51.29, 344.11°)
OKLaboklab(43.29% 0.1498 -0.0372)
OKLCHoklch(43.29% 0.154 346)
XYZxyz(12.6868, 7.0141, 12.2386)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F62 #1F8744
analogous
#781F87 #871F62 #871F2E
triadic
#871F62 #62871F #1F6287
tetradic
#871F62 #87781F #1F8744 #1F2E87
square
#871F62 #87781F #1F8744 #1F2E87
split-complementary
#871F62 #2E871F #1F8778
monochromatic
#23081A #55143E #871F62 #B92A86 #D64BA4

Accessibility & contrast

On white

8.74
#871F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#871F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F62
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F62#FFFFFF#000000##FFFFFF
##871F621.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871f62;
/* rgb */ color: rgb(135, 31, 98);
/* oklch */ color: oklch(43.3% 0.154 346.0);
Tailwind
colors: {
  custom: {
    50: '#ae668e',
    500: '#871f62',
    950: '#000000',
  },
}
SCSS
$custom: #871f62;
$custom-light: #ae668e;
$custom-dark: #000000;
JSON
{
  "hex": "#871f62",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 321.346,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43286,
    "c": 0.15432,
    "h": 346
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#871F62
secondary
#4AB871
accent
#E67C42
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871F62

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

Preview Lab → · Contrast checker → · Palette generator →

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