#871B6D#871B6D

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

Color values

HEX#871B6D
RGBrgb(135, 27, 109)
HSLhsl(314, 67%, 32%)
HSVhsv(314, 80%, 53%)
CMYKcmyk(0%, 80%, 19.3%, 47.1%)
CIE-LABlab(31.90, 52.11, -21.01)
CIE-LCHlch(31.90, 56.18, 338.04°)
OKLaboklab(43.49% 0.1556 -0.0568)
OKLCHoklch(43.49% 0.166 339.9)
XYZxyz(13.1443, 7.0402, 15.1317)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B6D #1B8735
analogous
#6B1B87 #871B6D #871B37
triadic
#871B6D #6D871B #1B6D87
tetradic
#871B6D #876B1B #1B8735 #1B3787
square
#871B6D #876B1B #1B8735 #1B3787
split-complementary
#871B6D #37871B #1B876B
monochromatic
#21071B #541144 #871B6D #BA2596 #D943B5

Accessibility & contrast

On white

8.72
#871B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B6D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B6D#FFFFFF#000000##FFFFFF
##871B6D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23406F
Deuteranopia (green-blind)
#47516B
Tritanopia (blue-blind)
#8F1F42
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871b6d;
/* rgb */ color: rgb(135, 27, 109);
/* oklch */ color: oklch(43.5% 0.166 339.9);
Tailwind
colors: {
  custom: {
    50: '#ae6597',
    500: '#871b6d',
    950: '#000000',
  },
}
SCSS
$custom: #871b6d;
$custom-light: #ae6597;
$custom-dark: #000000;
JSON
{
  "hex": "#871b6d",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 314.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43493,
    "c": 0.16562,
    "h": 339.9
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#871B6D
secondary
#44BA60
accent
#EA673E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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