#871F73#871F73

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

Color values

HEX#871F73
RGBrgb(135, 31, 115)
HSLhsl(312, 63%, 33%)
HSVhsv(312, 77%, 53%)
CMYKcmyk(0%, 77%, 14.8%, 47.1%)
CIE-LABlab(32.63, 51.74, -23.68)
CIE-LCHlch(32.63, 56.90, 335.41°)
OKLaboklab(44.12% 0.1525 -0.0644)
OKLCHoklch(44.12% 0.166 337.1)
XYZxyz(13.5764, 7.3699, 16.9239)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F73 #1F8733
analogous
#671F87 #871F73 #871F3F
triadic
#871F73 #73871F #1F7387
tetradic
#871F73 #87671F #1F8733 #1F3F87
square
#871F73 #87671F #1F8733 #1F3F87
split-complementary
#871F73 #3F871F #1F8767
monochromatic
#23081E #551449 #871F73 #B92A9D #D64BBB

Accessibility & contrast

On white

8.49
#871F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#871F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F73
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F73#FFFFFF#000000##FFFFFF
##871F731.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871f73;
/* rgb */ color: rgb(135, 31, 115);
/* oklch */ color: oklch(44.1% 0.166 337.1);
Tailwind
colors: {
  custom: {
    50: '#ad669b',
    500: '#871f73',
    950: '#000000',
  },
}
SCSS
$custom: #871f73;
$custom-light: #ad669b;
$custom-dark: #000000;
JSON
{
  "hex": "#871f73",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 311.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44121,
    "c": 0.16557,
    "h": 337.1
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#871F73
secondary
#4AB85F
accent
#E66242
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871F73

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

Preview Lab → · Contrast checker → · Palette generator →

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