#871970#871970

#871970 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.5% C 0.170 H 338.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#871970
RGBrgb(135, 25, 112)
HSLhsl(313, 69%, 31%)
HSVhsv(313, 81%, 53%)
CMYKcmyk(0%, 81.5%, 17%, 47.1%)
CIE-LABlab(31.85, 53.12, -23.01)
CIE-LCHlch(31.85, 57.88, 336.58°)
OKLaboklab(43.5% 0.1577 -0.0625)
OKLCHoklch(43.5% 0.17 338.4)
XYZxyz(13.2643, 7.0173, 15.9820)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871970 #198730
analogous
#671987 #871970 #871939
triadic
#871970 #708719 #197087
tetradic
#871970 #876719 #198730 #193987
square
#871970 #876719 #198730 #193987
split-complementary
#871970 #398719 #198767
monochromatic
#20061A #530F45 #871970 #BB239B #DB3FBB

Accessibility & contrast

On white

8.74
#871970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#871970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871970
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871970#FFFFFF#000000##FFFFFF
##8719701.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4072
Deuteranopia (green-blind)
#46516E
Tritanopia (blue-blind)
#8F1F44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871970;
/* rgb */ color: rgb(135, 25, 112);
/* oklch */ color: oklch(43.5% 0.170 338.4);
Tailwind
colors: {
  custom: {
    50: '#ae6499',
    500: '#871970',
    950: '#000000',
  },
}
SCSS
$custom: #871970;
$custom-light: #ae6499;
$custom-dark: #000000;
JSON
{
  "hex": "#871970",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 312.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43504,
    "c": 0.1696,
    "h": 338.4
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#871970
secondary
#41BA5B
accent
#EC613C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871970

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

Preview Lab → · Contrast checker → · Palette generator →

#871970 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva