#871F75#871F75

#871F75 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.167 H 336.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#871F75
RGBrgb(135, 31, 117)
HSLhsl(310, 63%, 33%)
HSVhsv(310, 77%, 53%)
CMYKcmyk(0%, 77%, 13.3%, 47.1%)
CIE-LABlab(32.74, 52.04, -24.79)
CIE-LCHlch(32.74, 57.64, 334.53°)
OKLaboklab(44.23% 0.1527 -0.0676)
OKLCHoklch(44.23% 0.167 336.1)
XYZxyz(13.6928, 7.4165, 17.5366)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F75 #1F8731
analogous
#651F87 #871F75 #871F41
triadic
#871F75 #75871F #1F7587
tetradic
#871F75 #87651F #1F8731 #1F4187
square
#871F75 #87651F #1F8731 #1F4187
split-complementary
#871F75 #41871F #1F8765
monochromatic
#23081F #55144A #871F75 #B92AA0 #D64BBE

Accessibility & contrast

On white

8.46
#871F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#871F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F75
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F75#FFFFFF#000000##FFFFFF
##871F751.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214377
Deuteranopia (green-blind)
#455373
Tritanopia (blue-blind)
#8E2748
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871f75;
/* rgb */ color: rgb(135, 31, 117);
/* oklch */ color: oklch(44.2% 0.167 336.1);
Tailwind
colors: {
  custom: {
    50: '#ad679d',
    500: '#871f75',
    950: '#000000',
  },
}
SCSS
$custom: #871f75;
$custom-light: #ad679d;
$custom-dark: #000000;
JSON
{
  "hex": "#871f75",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 310.385,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.16701,
    "h": 336.1
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#871F75
secondary
#4AB85D
accent
#E65E42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871F75

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

Preview Lab → · Contrast checker → · Palette generator →

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