#871A71#871A71

#871A71 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.169 H 337.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#871A71
RGBrgb(135, 26, 113)
HSLhsl(312, 68%, 32%)
HSVhsv(312, 81%, 53%)
CMYKcmyk(0%, 80.7%, 16.3%, 47.1%)
CIE-LABlab(32.00, 52.98, -23.41)
CIE-LCHlch(32.00, 57.92, 336.16°)
OKLaboklab(43.63% 0.1569 -0.0636)
OKLCHoklch(43.63% 0.169 337.9)
XYZxyz(13.3420, 7.0832, 16.2841)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A71 #1A8730
analogous
#671A87 #871A71 #871A3B
triadic
#871A71 #71871A #1A7187
tetradic
#871A71 #87671A #1A8730 #1A3B87
square
#871A71 #87671A #1A8730 #1A3B87
split-complementary
#871A71 #3B871A #1A8767
monochromatic
#20061B #541046 #871A71 #BA249C #DA41BB

Accessibility & contrast

On white

8.69
#871A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#871A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A71
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A71#FFFFFF#000000##FFFFFF
##871A711.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4173
Deuteranopia (green-blind)
#45516F
Tritanopia (blue-blind)
#8F2144
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871a71;
/* rgb */ color: rgb(135, 26, 113);
/* oklch */ color: oklch(43.6% 0.169 337.9);
Tailwind
colors: {
  custom: {
    50: '#ae659a',
    500: '#871a71',
    950: '#000000',
  },
}
SCSS
$custom: #871a71;
$custom-light: #ae659a;
$custom-dark: #000000;
JSON
{
  "hex": "#871a71",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 312.11,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.16934,
    "h": 337.9
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#871A71
secondary
#42BA5B
accent
#EB603D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871A71

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

Preview Lab → · Contrast checker → · Palette generator →

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