#871F6F#871F6F

#871F6F is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.163 H 339.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#871F6F
RGBrgb(135, 31, 111)
HSLhsl(314, 63%, 33%)
HSVhsv(314, 77%, 53%)
CMYKcmyk(0%, 77%, 17.8%, 47.1%)
CIE-LABlab(32.44, 51.14, -21.45)
CIE-LCHlch(32.44, 55.46, 337.24°)
OKLaboklab(43.91% 0.152 -0.0581)
OKLCHoklch(43.91% 0.163 339.1)
XYZxyz(13.3512, 7.2799, 15.7379)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F6F #1F8737
analogous
#6B1F87 #871F6F #871F3B
triadic
#871F6F #6F871F #1F6F87
tetradic
#871F6F #876B1F #1F8737 #1F3B87
square
#871F6F #876B1F #1F8737 #1F3B87
split-complementary
#871F6F #3B871F #1F876B
monochromatic
#23081D #551446 #871F6F #B92A98 #D64BB6

Accessibility & contrast

On white

8.55
#871F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#871F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F6F
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F6F#FFFFFF#000000##FFFFFF
##871F6F1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#48526D
Tritanopia (blue-blind)
#8F2345
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871f6f;
/* rgb */ color: rgb(135, 31, 111);
/* oklch */ color: oklch(43.9% 0.163 339.1);
Tailwind
colors: {
  custom: {
    50: '#ad6698',
    500: '#871f6f',
    950: '#000000',
  },
}
SCSS
$custom: #871f6f;
$custom-light: #ad6698;
$custom-dark: #000000;
JSON
{
  "hex": "#871f6f",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 111
  },
  "hsl": {
    "h": 313.846,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.16275,
    "h": 339.1
  },
  "luminance": 0.07279
}

Semantic roles & 50–950 ramp

primary
#871F6F
secondary
#4AB863
accent
#E66842
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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