#871A66#871A66

#871A66 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.1% C 0.162 H 343.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#871A66
RGBrgb(135, 26, 102)
HSLhsl(318, 68%, 32%)
HSVhsv(318, 81%, 53%)
CMYKcmyk(0%, 80.7%, 24.4%, 47.1%)
CIE-LABlab(31.46, 51.43, -17.20)
CIE-LCHlch(31.46, 54.23, 341.51°)
OKLaboklab(43.07% 0.1554 -0.046)
OKLCHoklch(43.07% 0.162 343.5)
XYZxyz(12.7599, 6.8504, 13.2181)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A66 #1A873B
analogous
#721A87 #871A66 #871A30
triadic
#871A66 #66871A #1A6687
tetradic
#871A66 #87721A #1A873B #1A3087
square
#871A66 #87721A #1A873B #1A3087
split-complementary
#871A66 #30871A #1A8772
monochromatic
#200618 #54103F #871A66 #BA248D #DA41AC

Accessibility & contrast

On white

8.86
#871A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#871A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A66
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A66#FFFFFF#000000##FFFFFF
##871A661.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273F68
Deuteranopia (green-blind)
#4A5064
Tritanopia (blue-blind)
#901A3E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871a66;
/* rgb */ color: rgb(135, 26, 102);
/* oklch */ color: oklch(43.1% 0.162 343.5);
Tailwind
colors: {
  custom: {
    50: '#ae6491',
    500: '#871a66',
    950: '#000000',
  },
}
SCSS
$custom: #871a66;
$custom-light: #ae6491;
$custom-dark: #000000;
JSON
{
  "hex": "#871a66",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 318.165,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43072,
    "c": 0.16209,
    "h": 343.5
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#871A66
secondary
#42BA67
accent
#EB723D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #871A66

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

Preview Lab → · Contrast checker → · Palette generator →

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