#871A64#871A64

#871A64 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.161 H 344.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#871A64
RGBrgb(135, 26, 100)
HSLhsl(319, 68%, 32%)
HSVhsv(319, 81%, 53%)
CMYKcmyk(0%, 80.7%, 25.9%, 47.1%)
CIE-LABlab(31.37, 51.17, -16.05)
CIE-LCHlch(31.37, 53.62, 342.59°)
OKLaboklab(42.98% 0.1551 -0.0428)
OKLCHoklch(42.98% 0.161 344.6)
XYZxyz(12.6619, 6.8112, 12.7020)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A64 #1A873D
analogous
#741A87 #871A64 #871A2E
triadic
#871A64 #64871A #1A6487
tetradic
#871A64 #87741A #1A873D #1A2E87
square
#871A64 #87741A #1A873D #1A2E87
split-complementary
#871A64 #2E871A #1A8774
monochromatic
#200618 #54103E #871A64 #BA248A #DA41A9

Accessibility & contrast

On white

8.89
#871A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#871A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A64
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A64#FFFFFF#000000##FFFFFF
##871A641.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283E66
Deuteranopia (green-blind)
#4A5062
Tritanopia (blue-blind)
#90193D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871a64;
/* rgb */ color: rgb(135, 26, 100);
/* oklch */ color: oklch(43.0% 0.161 344.6);
Tailwind
colors: {
  custom: {
    50: '#ae6490',
    500: '#871a64',
    950: '#000000',
  },
}
SCSS
$custom: #871a64;
$custom-light: #ae6490;
$custom-dark: #000000;
JSON
{
  "hex": "#871a64",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 319.266,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42976,
    "c": 0.16086,
    "h": 344.6
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#871A64
secondary
#42BA69
accent
#EB753D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871A64

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

Preview Lab → · Contrast checker → · Palette generator →

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