#871F74#871F74

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

Color values

HEX#871F74
RGBrgb(135, 31, 116)
HSLhsl(311, 63%, 33%)
HSVhsv(311, 77%, 53%)
CMYKcmyk(0%, 77%, 14.1%, 47.1%)
CIE-LABlab(32.69, 51.89, -24.23)
CIE-LCHlch(32.69, 57.27, 334.96°)
OKLaboklab(44.18% 0.1526 -0.066)
OKLCHoklch(44.18% 0.166 336.6)
XYZxyz(13.6343, 7.3931, 17.2286)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F74 #1F8732
analogous
#661F87 #871F74 #871F40
triadic
#871F74 #74871F #1F7487
tetradic
#871F74 #87661F #1F8732 #1F4087
square
#871F74 #87661F #1F8732 #1F4087
split-complementary
#871F74 #40871F #1F8766
monochromatic
#23081E #551449 #871F74 #B92A9F #D64BBC

Accessibility & contrast

On white

8.47
#871F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F74
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F74#FFFFFF#000000##FFFFFF
##871F741.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214376
Deuteranopia (green-blind)
#465272
Tritanopia (blue-blind)
#8E2647
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #871f74;
/* rgb */ color: rgb(135, 31, 116);
/* oklch */ color: oklch(44.2% 0.166 336.6);
Tailwind
colors: {
  custom: {
    50: '#ad669c',
    500: '#871f74',
    950: '#000000',
  },
}
SCSS
$custom: #871f74;
$custom-light: #ad669c;
$custom-dark: #000000;
JSON
{
  "hex": "#871f74",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 310.962,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.16628,
    "h": 336.6
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#871F74
secondary
#4AB85E
accent
#E66042
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871F74

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

Preview Lab → · Contrast checker → · Palette generator →

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