#871F70#871F70

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

Color values

HEX#871F70
RGBrgb(135, 31, 112)
HSLhsl(313, 63%, 33%)
HSVhsv(313, 77%, 53%)
CMYKcmyk(0%, 77%, 17%, 47.1%)
CIE-LABlab(32.48, 51.29, -22.01)
CIE-LCHlch(32.48, 55.81, 336.77°)
OKLaboklab(43.96% 0.1522 -0.0597)
OKLCHoklch(43.96% 0.163 338.6)
XYZxyz(13.4066, 7.3020, 16.0295)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F70 #1F8736
analogous
#6A1F87 #871F70 #871F3C
triadic
#871F70 #70871F #1F7087
tetradic
#871F70 #876A1F #1F8736 #1F3C87
square
#871F70 #876A1F #1F8736 #1F3C87
split-complementary
#871F70 #3C871F #1F876A
monochromatic
#23081D #551447 #871F70 #B92A99 #D64BB7

Accessibility & contrast

On white

8.54
#871F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#871F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F70
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F70#FFFFFF#000000##FFFFFF
##871F701.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254272
Deuteranopia (green-blind)
#47526E
Tritanopia (blue-blind)
#8F2445
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871f70;
/* rgb */ color: rgb(135, 31, 112);
/* oklch */ color: oklch(44.0% 0.163 338.6);
Tailwind
colors: {
  custom: {
    50: '#ad6699',
    500: '#871f70',
    950: '#000000',
  },
}
SCSS
$custom: #871f70;
$custom-light: #ad6699;
$custom-dark: #000000;
JSON
{
  "hex": "#871f70",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 313.269,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43964,
    "c": 0.16345,
    "h": 338.6
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#871F70
secondary
#4AB862
accent
#E66642
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871F70

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

Preview Lab → · Contrast checker → · Palette generator →

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