#871B6C#871B6C

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

Color values

HEX#871B6C
RGBrgb(135, 27, 108)
HSLhsl(315, 67%, 32%)
HSVhsv(315, 80%, 53%)
CMYKcmyk(0%, 80%, 20%, 47.1%)
CIE-LABlab(31.85, 51.97, -20.45)
CIE-LCHlch(31.85, 55.84, 338.52°)
OKLaboklab(43.44% 0.1555 -0.0552)
OKLCHoklch(43.44% 0.165 340.5)
XYZxyz(13.0908, 7.0188, 14.8498)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B6C #1B8736
analogous
#6C1B87 #871B6C #871B36
triadic
#871B6C #6C871B #1B6C87
tetradic
#871B6C #876C1B #1B8736 #1B3687
square
#871B6C #876C1B #1B8736 #1B3687
split-complementary
#871B6C #36871B #1B876C
monochromatic
#21071A #541143 #871B6C #BA2595 #D943B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871B6C#FFFFFF#000000##FFFFFF
##871B6C1.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)
#24406E
Deuteranopia (green-blind)
#48516A
Tritanopia (blue-blind)
#8F1E42
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871b6c;
/* rgb */ color: rgb(135, 27, 108);
/* oklch */ color: oklch(43.4% 0.165 340.5);
Tailwind
colors: {
  custom: {
    50: '#ae6596',
    500: '#871b6c',
    950: '#000000',
  },
}
SCSS
$custom: #871b6c;
$custom-light: #ae6596;
$custom-dark: #000000;
JSON
{
  "hex": "#871b6c",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 108
  },
  "hsl": {
    "h": 315,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43442,
    "c": 0.16496,
    "h": 340.5
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#871B6C
secondary
#44BA61
accent
#EA693E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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