#871A4D#871A4D

#871A4D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.149 H 357.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#871A4D
RGBrgb(135, 26, 77)
HSLhsl(332, 68%, 32%)
HSVhsv(332, 81%, 53%)
CMYKcmyk(0%, 80.7%, 43%, 47.1%)
CIE-LABlab(30.47, 48.45, -2.39)
CIE-LCHlch(30.47, 48.51, 357.17°)
OKLaboklab(42.02% 0.149 -0.0057)
OKLCHoklch(42.02% 0.149 357.8)
XYZxyz(11.7015, 6.4270, 7.6441)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A4D #1A8754
analogous
#871A84 #871A4D #871E1A
triadic
#871A4D #4D871A #1A4D87
tetradic
#871A4D #84871A #1A8754 #1E1A87
square
#871A4D #84871A #1A8754 #1E1A87
split-complementary
#871A4D #1A871E #1A8487
monochromatic
#200612 #541030 #871A4D #BA246A #DA4189

Accessibility & contrast

On white

9.19
#871A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A4D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A4D#FFFFFF#000000##FFFFFF
##871A4D1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4E
Deuteranopia (green-blind)
#504F4B
Tritanopia (blue-blind)
#930531
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871a4d;
/* rgb */ color: rgb(135, 26, 77);
/* oklch */ color: oklch(42.0% 0.149 357.8);
Tailwind
colors: {
  custom: {
    50: '#af637e',
    500: '#871a4d',
    950: '#000000',
  },
}
SCSS
$custom: #871a4d;
$custom-light: #af637e;
$custom-dark: #000000;
JSON
{
  "hex": "#871a4d",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 331.927,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.14913,
    "h": 357.8
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#871A4D
secondary
#42BA82
accent
#EB993D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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