#871A6D#871A6D

#871A6D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.167 H 339.9°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#871A6D
RGBrgb(135, 26, 109)
HSLhsl(314, 68%, 32%)
HSVhsv(314, 81%, 53%)
CMYKcmyk(0%, 80.7%, 19.3%, 47.1%)
CIE-LABlab(31.80, 52.40, -21.17)
CIE-LCHlch(31.80, 56.52, 338.00°)
OKLaboklab(43.42% 0.1565 -0.0572)
OKLCHoklch(43.42% 0.167 339.9)
XYZxyz(13.1218, 6.9951, 15.1242)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A6D #1A8734
analogous
#6B1A87 #871A6D #871A37
triadic
#871A6D #6D871A #1A6D87
tetradic
#871A6D #876B1A #1A8734 #1A3787
square
#871A6D #876B1A #1A8734 #1A3787
split-complementary
#871A6D #37871A #1A876B
monochromatic
#20061A #541044 #871A6D #BA2496 #DA41B6

Accessibility & contrast

On white

8.75
#871A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A6D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A6D#FFFFFF#000000##FFFFFF
##871A6D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23406F
Deuteranopia (green-blind)
#47516B
Tritanopia (blue-blind)
#8F1E42
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871a6d;
/* rgb */ color: rgb(135, 26, 109);
/* oklch */ color: oklch(43.4% 0.167 339.9);
Tailwind
colors: {
  custom: {
    50: '#ae6497',
    500: '#871a6d',
    950: '#000000',
  },
}
SCSS
$custom: #871a6d;
$custom-light: #ae6497;
$custom-dark: #000000;
JSON
{
  "hex": "#871a6d",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 314.312,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4342,
    "c": 0.16662,
    "h": 339.9
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#871A6D
secondary
#42BA5F
accent
#EB673D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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