#871F6B#871F6B

#871F6B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.160 H 341.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#871F6B
RGBrgb(135, 31, 107)
HSLhsl(316, 63%, 33%)
HSVhsv(316, 77%, 53%)
CMYKcmyk(0%, 77%, 20.7%, 47.1%)
CIE-LABlab(32.24, 50.56, -19.20)
CIE-LCHlch(32.24, 54.08, 339.21°)
OKLaboklab(43.71% 0.1515 -0.0517)
OKLCHoklch(43.71% 0.16 341.2)
XYZxyz(13.1359, 7.1937, 14.6038)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F6B #1F873B
analogous
#6F1F87 #871F6B #871F37
triadic
#871F6B #6B871F #1F6B87
tetradic
#871F6B #876F1F #1F873B #1F3787
square
#871F6B #876F1F #1F873B #1F3787
split-complementary
#871F6B #37871F #1F876F
monochromatic
#23081C #551444 #871F6B #B92A92 #D64BB0

Accessibility & contrast

On white

8.61
#871F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#871F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F6B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F6B#FFFFFF#000000##FFFFFF
##871F6B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416D
Deuteranopia (green-blind)
#495269
Tritanopia (blue-blind)
#902143
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871f6b;
/* rgb */ color: rgb(135, 31, 107);
/* oklch */ color: oklch(43.7% 0.160 341.2);
Tailwind
colors: {
  custom: {
    50: '#ae6695',
    500: '#871f6b',
    950: '#000000',
  },
}
SCSS
$custom: #871f6b;
$custom-light: #ae6695;
$custom-dark: #000000;
JSON
{
  "hex": "#871f6b",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 316.154,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.16004,
    "h": 341.2
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#871F6B
secondary
#4AB867
accent
#E66E42
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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