#871F72#871F72

#871F72 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.165 H 337.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#871F72
RGBrgb(135, 31, 114)
HSLhsl(312, 63%, 33%)
HSVhsv(312, 77%, 53%)
CMYKcmyk(0%, 77%, 15.6%, 47.1%)
CIE-LABlab(32.58, 51.58, -23.13)
CIE-LCHlch(32.58, 56.53, 335.85°)
OKLaboklab(44.07% 0.1524 -0.0628)
OKLCHoklch(44.07% 0.165 337.6)
XYZxyz(13.5192, 7.3471, 16.6225)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F72 #1F8734
analogous
#681F87 #871F72 #871F3E
triadic
#871F72 #72871F #1F7287
tetradic
#871F72 #87681F #1F8734 #1F3E87
square
#871F72 #87681F #1F8734 #1F3E87
split-complementary
#871F72 #3E871F #1F8768
monochromatic
#23081E #551448 #871F72 #B92A9C #D64BBA

Accessibility & contrast

On white

8.50
#871F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#871F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F72
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F72#FFFFFF#000000##FFFFFF
##871F721.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#475270
Tritanopia (blue-blind)
#8F2546
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871f72;
/* rgb */ color: rgb(135, 31, 114);
/* oklch */ color: oklch(44.1% 0.165 337.6);
Tailwind
colors: {
  custom: {
    50: '#ad669b',
    500: '#871f72',
    950: '#000000',
  },
}
SCSS
$custom: #871f72;
$custom-light: #ad669b;
$custom-dark: #000000;
JSON
{
  "hex": "#871f72",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 312.115,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.16486,
    "h": 337.6
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#871F72
secondary
#4AB860
accent
#E66342
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871F72

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

Preview Lab → · Contrast checker → · Palette generator →

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