#871A6E#871A6E

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

Color values

HEX#871A6E
RGBrgb(135, 26, 110)
HSLhsl(314, 68%, 32%)
HSVhsv(314, 81%, 53%)
CMYKcmyk(0%, 80.7%, 18.5%, 47.1%)
CIE-LABlab(31.85, 52.54, -21.73)
CIE-LCHlch(31.85, 56.86, 337.53°)
OKLaboklab(43.47% 0.1566 -0.0588)
OKLCHoklch(43.47% 0.167 339.4)
XYZxyz(13.1759, 7.0168, 15.4093)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A6E #1A8733
analogous
#6A1A87 #871A6E #871A38
triadic
#871A6E #6E871A #1A6E87
tetradic
#871A6E #876A1A #1A8733 #1A3887
square
#871A6E #876A1A #1A8733 #1A3887
split-complementary
#871A6E #38871A #1A876A
monochromatic
#20061A #541044 #871A6E #BA2498 #DA41B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871A6E#FFFFFF#000000##FFFFFF
##871A6E1.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)
#224070
Deuteranopia (green-blind)
#47516C
Tritanopia (blue-blind)
#8F1F43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871a6e;
/* rgb */ color: rgb(135, 26, 110);
/* oklch */ color: oklch(43.5% 0.167 339.4);
Tailwind
colors: {
  custom: {
    50: '#ae6498',
    500: '#871a6e',
    950: '#000000',
  },
}
SCSS
$custom: #871a6e;
$custom-light: #ae6498;
$custom-dark: #000000;
JSON
{
  "hex": "#871a6e",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 313.761,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43471,
    "c": 0.16729,
    "h": 339.4
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#871A6E
secondary
#42BA5E
accent
#EB653D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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