#871A49#871A49

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

Color values

HEX#871A49
RGBrgb(135, 26, 73)
HSLhsl(334, 68%, 32%)
HSVhsv(334, 81%, 53%)
CMYKcmyk(0%, 80.7%, 45.9%, 47.1%)
CIE-LABlab(30.33, 48.05, 0.06)
CIE-LCHlch(30.33, 48.05, 0.07°)
OKLaboklab(41.88% 0.1477 0.0007)
OKLCHoklch(41.88% 0.148 0.3)
XYZxyz(11.5646, 6.3723, 6.9230)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A49 #1A8758
analogous
#871A80 #871A49 #87211A
triadic
#871A49 #49871A #1A4987
tetradic
#871A49 #80871A #1A8758 #211A87
square
#871A49 #80871A #1A8758 #211A87
split-complementary
#871A49 #1A8721 #1A8087
monochromatic
#200612 #54102D #871A49 #BA2465 #DA4183

Accessibility & contrast

On white

9.23
#871A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A49
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A49#FFFFFF#000000##FFFFFF
##871A491.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A4A
Deuteranopia (green-blind)
#514F47
Tritanopia (blue-blind)
#93012F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871a49;
/* rgb */ color: rgb(135, 26, 73);
/* oklch */ color: oklch(41.9% 0.148 0.3);
Tailwind
colors: {
  custom: {
    50: '#af637b',
    500: '#871a49',
    950: '#000000',
  },
}
SCSS
$custom: #871a49;
$custom-light: #af637b;
$custom-dark: #000000;
JSON
{
  "hex": "#871a49",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 334.128,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41879,
    "c": 0.14765,
    "h": 0.3
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#871A49
secondary
#42BA87
accent
#EBA03D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871A49

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

Preview Lab → · Contrast checker → · Palette generator →

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