#871870#871870

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

Color values

HEX#871870
RGBrgb(135, 24, 112)
HSLhsl(312, 70%, 31%)
HSVhsv(312, 82%, 53%)
CMYKcmyk(0%, 82.2%, 17%, 47.1%)
CIE-LABlab(31.75, 53.39, -23.16)
CIE-LCHlch(31.75, 58.20, 336.55°)
OKLaboklab(43.44% 0.1585 -0.0629)
OKLCHoklch(43.44% 0.171 338.4)
XYZxyz(13.2433, 6.9753, 15.9750)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871870 #18872F
analogous
#661887 #871870 #871839
triadic
#871870 #708718 #187087
tetradic
#871870 #876618 #18872F #183987
square
#871870 #876618 #18872F #183987
split-complementary
#871870 #398718 #188766
monochromatic
#1F061A #530F45 #871870 #BB219B #DC3DBB

Accessibility & contrast

On white

8.77
#871870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#871870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871870
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871870#FFFFFF#000000##FFFFFF
##8718701.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4072
Deuteranopia (green-blind)
#45516E
Tritanopia (blue-blind)
#8F1F43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871870;
/* rgb */ color: rgb(135, 24, 112);
/* oklch */ color: oklch(43.4% 0.171 338.4);
Tailwind
colors: {
  custom: {
    50: '#ae6499',
    500: '#871870',
    950: '#000000',
  },
}
SCSS
$custom: #871870;
$custom-light: #ae6499;
$custom-dark: #000000;
JSON
{
  "hex": "#871870",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 312.432,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43436,
    "c": 0.17054,
    "h": 338.4
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#871870
secondary
#40BB5A
accent
#ED603B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871870

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

Preview Lab → · Contrast checker → · Palette generator →

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