#871A4A#871A4A

#871A4A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.148 H 359.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#871A4A
RGBrgb(135, 26, 74)
HSLhsl(334, 68%, 32%)
HSVhsv(334, 81%, 53%)
CMYKcmyk(0%, 80.7%, 45.2%, 47.1%)
CIE-LABlab(30.37, 48.15, -0.56)
CIE-LCHlch(30.37, 48.15, 359.34°)
OKLaboklab(41.91% 0.148 -0.0009)
OKLCHoklch(41.91% 0.148 359.7)
XYZxyz(11.5980, 6.3856, 7.0991)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A4A #1A8757
analogous
#871A81 #871A4A #87211A
triadic
#871A4A #4A871A #1A4A87
tetradic
#871A4A #81871A #1A8757 #211A87
square
#871A4A #81871A #1A8757 #211A87
split-complementary
#871A4A #1A8721 #1A8187
monochromatic
#200612 #54102E #871A4A #BA2466 #DA4185

Accessibility & contrast

On white

9.22
#871A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A4A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A4A#FFFFFF#000000##FFFFFF
##871A4A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A4B
Deuteranopia (green-blind)
#514F48
Tritanopia (blue-blind)
#930230
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871a4a;
/* rgb */ color: rgb(135, 26, 74);
/* oklch */ color: oklch(41.9% 0.148 359.7);
Tailwind
colors: {
  custom: {
    50: '#af637c',
    500: '#871a4a',
    950: '#000000',
  },
}
SCSS
$custom: #871a4a;
$custom-light: #af637c;
$custom-dark: #000000;
JSON
{
  "hex": "#871a4a",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 333.578,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41913,
    "c": 0.148,
    "h": 359.7
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#871A4A
secondary
#42BA86
accent
#EB9E3D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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