#871D70#871D70

#871D70 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.166 H 338.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#871D70
RGBrgb(135, 29, 112)
HSLhsl(313, 65%, 32%)
HSVhsv(313, 79%, 53%)
CMYKcmyk(0%, 78.5%, 17%, 47.1%)
CIE-LABlab(32.26, 51.93, -22.36)
CIE-LCHlch(32.26, 56.54, 336.70°)
OKLaboklab(43.8% 0.1541 -0.0606)
OKLCHoklch(43.8% 0.166 338.5)
XYZxyz(13.3560, 7.2008, 16.0126)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D70 #1D8734
analogous
#691D87 #871D70 #871D3B
triadic
#871D70 #70871D #1D7087
tetradic
#871D70 #87691D #1D8734 #1D3B87
square
#871D70 #87691D #1D8734 #1D3B87
split-complementary
#871D70 #3B871D #1D8769
monochromatic
#22071C #551246 #871D70 #B9289A #D747B8

Accessibility & contrast

On white

8.61
#871D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#871D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D70
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D70#FFFFFF#000000##FFFFFF
##871D701.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871d70;
/* rgb */ color: rgb(135, 29, 112);
/* oklch */ color: oklch(43.8% 0.166 338.5);
Tailwind
colors: {
  custom: {
    50: '#ae6699',
    500: '#871d70',
    950: '#000000',
  },
}
SCSS
$custom: #871d70;
$custom-light: #ae6699;
$custom-dark: #000000;
JSON
{
  "hex": "#871d70",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 313.019,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.16561,
    "h": 338.5
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#871D70
secondary
#46B95F
accent
#E86540
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871D70

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

Preview Lab → · Contrast checker → · Palette generator →

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