#871D6F#871D6F

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

Color values

HEX#871D6F
RGBrgb(135, 29, 111)
HSLhsl(314, 65%, 32%)
HSVhsv(314, 79%, 53%)
CMYKcmyk(0%, 78.5%, 17.8%, 47.1%)
CIE-LABlab(32.21, 51.78, -21.80)
CIE-LCHlch(32.21, 56.19, 337.17°)
OKLaboklab(43.75% 0.154 -0.0591)
OKLCHoklch(43.75% 0.165 339)
XYZxyz(13.3006, 7.1786, 15.7210)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D6F #1D8735
analogous
#6A1D87 #871D6F #871D3A
triadic
#871D6F #6F871D #1D6F87
tetradic
#871D6F #876A1D #1D8735 #1D3A87
square
#871D6F #876A1D #1D8735 #1D3A87
split-complementary
#871D6F #3A871D #1D876A
monochromatic
#22071C #551246 #871D6F #B92898 #D747B7

Accessibility & contrast

On white

8.62
#871D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871D6F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D6F#FFFFFF#000000##FFFFFF
##871D6F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#47526D
Tritanopia (blue-blind)
#8F2244
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871d6f;
/* rgb */ color: rgb(135, 29, 111);
/* oklch */ color: oklch(43.8% 0.165 339.0);
Tailwind
colors: {
  custom: {
    50: '#ae6698',
    500: '#871d6f',
    950: '#000000',
  },
}
SCSS
$custom: #871d6f;
$custom-light: #ae6698;
$custom-dark: #000000;
JSON
{
  "hex": "#871d6f",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 313.585,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.16493,
    "h": 339
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#871D6F
secondary
#46B960
accent
#E86640
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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