#871A6A#871A6A

#871A6A is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.3% C 0.165 H 341.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#871A6A
RGBrgb(135, 26, 106)
HSLhsl(316, 68%, 32%)
HSVhsv(316, 81%, 53%)
CMYKcmyk(0%, 80.7%, 21.5%, 47.1%)
CIE-LABlab(31.65, 51.98, -19.48)
CIE-LCHlch(31.65, 55.51, 339.46°)
OKLaboklab(43.27% 0.1561 -0.0524)
OKLCHoklch(43.27% 0.165 341.4)
XYZxyz(12.9630, 6.9316, 14.2881)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A6A #1A8737
analogous
#6E1A87 #871A6A #871A34
triadic
#871A6A #6A871A #1A6A87
tetradic
#871A6A #876E1A #1A8737 #1A3487
square
#871A6A #876E1A #1A8737 #1A3487
split-complementary
#871A6A #34871A #1A876E
monochromatic
#200619 #541042 #871A6A #BA2492 #DA41B2

Accessibility & contrast

On white

8.80
#871A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#871A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A6A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A6A#FFFFFF#000000##FFFFFF
##871A6A1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6C
Deuteranopia (green-blind)
#485168
Tritanopia (blue-blind)
#901C41
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871a6a;
/* rgb */ color: rgb(135, 26, 106);
/* oklch */ color: oklch(43.3% 0.165 341.4);
Tailwind
colors: {
  custom: {
    50: '#ae6495',
    500: '#871a6a',
    950: '#000000',
  },
}
SCSS
$custom: #871a6a;
$custom-light: #ae6495;
$custom-dark: #000000;
JSON
{
  "hex": "#871a6a",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 315.963,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43268,
    "c": 0.16463,
    "h": 341.4
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#871A6A
secondary
#42BA62
accent
#EB6B3D
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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