#871A70#871A70

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

Color values

HEX#871A70
RGBrgb(135, 26, 112)
HSLhsl(313, 68%, 32%)
HSVhsv(313, 81%, 53%)
CMYKcmyk(0%, 80.7%, 17%, 47.1%)
CIE-LABlab(31.94, 52.83, -22.85)
CIE-LCHlch(31.94, 57.56, 336.61°)
OKLaboklab(43.58% 0.1568 -0.062)
OKLCHoklch(43.58% 0.169 338.4)
XYZxyz(13.2860, 7.0608, 15.9893)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A70 #1A8731
analogous
#681A87 #871A70 #871A39
triadic
#871A70 #70871A #1A7087
tetradic
#871A70 #87681A #1A8731 #1A3987
square
#871A70 #87681A #1A8731 #1A3987
split-complementary
#871A70 #39871A #1A8768
monochromatic
#20061B #541045 #871A70 #BA249B #DA41BA

Accessibility & contrast

On white

8.71
#871A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#871A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A70
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A70#FFFFFF#000000##FFFFFF
##871A701.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204072
Deuteranopia (green-blind)
#46516E
Tritanopia (blue-blind)
#8F2044
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871a70;
/* rgb */ color: rgb(135, 26, 112);
/* oklch */ color: oklch(43.6% 0.169 338.4);
Tailwind
colors: {
  custom: {
    50: '#ae6499',
    500: '#871a70',
    950: '#000000',
  },
}
SCSS
$custom: #871a70;
$custom-light: #ae6499;
$custom-dark: #000000;
JSON
{
  "hex": "#871a70",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 312.661,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43575,
    "c": 0.16865,
    "h": 338.4
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#871A70
secondary
#42BA5C
accent
#EB623D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871A70

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

Preview Lab → · Contrast checker → · Palette generator →

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