#871C75#871C75

#871C75 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.170 H 336.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#871C75
RGBrgb(135, 28, 117)
HSLhsl(310, 66%, 32%)
HSVhsv(310, 79%, 53%)
CMYKcmyk(0%, 79.3%, 13.3%, 47.1%)
CIE-LABlab(32.41, 52.98, -25.30)
CIE-LCHlch(32.41, 58.72, 334.47°)
OKLaboklab(43.99% 0.1555 -0.069)
OKLCHoklch(43.99% 0.17 336.1)
XYZxyz(13.6180, 7.2670, 17.5116)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C75 #1C872E
analogous
#631C87 #871C75 #871C40
triadic
#871C75 #75871C #1C7587
tetradic
#871C75 #87631C #1C872E #1C4087
square
#871C75 #87631C #1C872E #1C4087
split-complementary
#871C75 #40871C #1C8763
monochromatic
#22071D #541149 #871C75 #BA27A1 #D845C0

Accessibility & contrast

On white

8.56
#871C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C75
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C75#FFFFFF#000000##FFFFFF
##871C751.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4277
Deuteranopia (green-blind)
#445273
Tritanopia (blue-blind)
#8E2447
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871c75;
/* rgb */ color: rgb(135, 28, 117);
/* oklch */ color: oklch(44.0% 0.170 336.1);
Tailwind
colors: {
  custom: {
    50: '#ae659d',
    500: '#871c75',
    950: '#000000',
  },
}
SCSS
$custom: #871c75;
$custom-light: #ae659d;
$custom-dark: #000000;
JSON
{
  "hex": "#871c75",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 310.093,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43991,
    "c": 0.17017,
    "h": 336.1
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#871C75
secondary
#45BA59
accent
#E95C3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871C75

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

Preview Lab → · Contrast checker → · Palette generator →

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