#871B6B#871B6B

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

Color values

HEX#871B6B
RGBrgb(135, 27, 107)
HSLhsl(316, 67%, 32%)
HSVhsv(316, 80%, 53%)
CMYKcmyk(0%, 80%, 20.7%, 47.1%)
CIE-LABlab(31.80, 51.82, -19.88)
CIE-LCHlch(31.80, 55.51, 339.01°)
OKLaboklab(43.39% 0.1553 -0.0536)
OKLCHoklch(43.39% 0.164 341)
XYZxyz(13.0379, 6.9976, 14.5711)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B6B #1B8737
analogous
#6D1B87 #871B6B #871B35
triadic
#871B6B #6B871B #1B6B87
tetradic
#871B6B #876D1B #1B8737 #1B3587
square
#871B6B #876D1B #1B8737 #1B3587
split-complementary
#871B6B #35871B #1B876D
monochromatic
#21071A #541143 #871B6B #BA2593 #D943B2

Accessibility & contrast

On white

8.75
#871B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B6B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B6B#FFFFFF#000000##FFFFFF
##871B6B1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406D
Deuteranopia (green-blind)
#485169
Tritanopia (blue-blind)
#901E41
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871b6b;
/* rgb */ color: rgb(135, 27, 107);
/* oklch */ color: oklch(43.4% 0.164 341.0);
Tailwind
colors: {
  custom: {
    50: '#ae6595',
    500: '#871b6b',
    950: '#000000',
  },
}
SCSS
$custom: #871b6b;
$custom-light: #ae6595;
$custom-dark: #000000;
JSON
{
  "hex": "#871b6b",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 315.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43392,
    "c": 0.1643,
    "h": 341
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#871B6B
secondary
#44BA62
accent
#EA6B3E
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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