#871A62#871A62

#871A62 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.160 H 345.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#871A62
RGBrgb(135, 26, 98)
HSLhsl(320, 68%, 32%)
HSVhsv(320, 81%, 53%)
CMYKcmyk(0%, 80.7%, 27.4%, 47.1%)
CIE-LABlab(31.28, 50.91, -14.89)
CIE-LCHlch(31.28, 53.04, 343.70°)
OKLaboklab(42.88% 0.1547 -0.0396)
OKLCHoklch(42.88% 0.16 345.7)
XYZxyz(12.5663, 6.7729, 12.1984)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A62 #1A873F
analogous
#761A87 #871A62 #871A2C
triadic
#871A62 #62871A #1A6287
tetradic
#871A62 #87761A #1A873F #1A2C87
square
#871A62 #87761A #1A873F #1A2C87
split-complementary
#871A62 #2C871A #1A8776
monochromatic
#200617 #54103D #871A62 #BA2487 #DA41A6

Accessibility & contrast

On white

8.92
#871A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#871A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A62
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A62#FFFFFF#000000##FFFFFF
##871A621.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E64
Deuteranopia (green-blind)
#4B5060
Tritanopia (blue-blind)
#91173C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871a62;
/* rgb */ color: rgb(135, 26, 98);
/* oklch */ color: oklch(42.9% 0.160 345.7);
Tailwind
colors: {
  custom: {
    50: '#ae648e',
    500: '#871a62',
    950: '#000000',
  },
}
SCSS
$custom: #871a62;
$custom-light: #ae648e;
$custom-dark: #000000;
JSON
{
  "hex": "#871a62",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 320.367,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.15965,
    "h": 345.7
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#871A62
secondary
#42BA6B
accent
#EB783D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871A62

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

Preview Lab → · Contrast checker → · Palette generator →

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