#871F6D#871F6D

#871F6D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.161 H 340.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#871F6D
RGBrgb(135, 31, 109)
HSLhsl(315, 63%, 33%)
HSVhsv(315, 77%, 53%)
CMYKcmyk(0%, 77%, 19.3%, 47.1%)
CIE-LABlab(32.34, 50.85, -20.33)
CIE-LCHlch(32.34, 54.76, 338.21°)
OKLaboklab(43.81% 0.1518 -0.0549)
OKLCHoklch(43.81% 0.161 340.1)
XYZxyz(13.2424, 7.2363, 15.1644)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F6D #1F8739
analogous
#6D1F87 #871F6D #871F39
triadic
#871F6D #6D871F #1F6D87
tetradic
#871F6D #876D1F #1F8739 #1F3987
square
#871F6D #876D1F #1F8739 #1F3987
split-complementary
#871F6D #39871F #1F876D
monochromatic
#23081D #551445 #871F6D #B92A95 #D64BB3

Accessibility & contrast

On white

8.58
#871F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#871F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F6D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F6D#FFFFFF#000000##FFFFFF
##871F6D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27426F
Deuteranopia (green-blind)
#49526B
Tritanopia (blue-blind)
#8F2244
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871f6d;
/* rgb */ color: rgb(135, 31, 109);
/* oklch */ color: oklch(43.8% 0.161 340.1);
Tailwind
colors: {
  custom: {
    50: '#ae6697',
    500: '#871f6d',
    950: '#000000',
  },
}
SCSS
$custom: #871f6d;
$custom-light: #ae6697;
$custom-dark: #000000;
JSON
{
  "hex": "#871f6d",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 315,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43812,
    "c": 0.16138,
    "h": 340.1
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#871F6D
secondary
#4AB865
accent
#E66B42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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