#871C49#871C49

#871C49 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.146 H 0.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#871C49
RGBrgb(135, 28, 73)
HSLhsl(335, 66%, 32%)
HSVhsv(335, 79%, 53%)
CMYKcmyk(0%, 79.3%, 45.9%, 47.1%)
CIE-LABlab(30.55, 47.42, 0.38)
CIE-LCHlch(30.55, 47.43, 0.46°)
OKLaboklab(42.04% 0.1456 0.0015)
OKLCHoklch(42.04% 0.146 0.6)
XYZxyz(11.6104, 6.4640, 6.9383)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C49 #1C875A
analogous
#871C7F #871C49 #87241C
triadic
#871C49 #49871C #1C4987
tetradic
#871C49 #7F871C #1C875A #241C87
square
#871C49 #7F871C #1C875A #241C87
split-complementary
#871C49 #1C8724 #1C7F87
monochromatic
#220712 #54112E #871C49 #BA2764 #D84583

Accessibility & contrast

On white

9.16
#871C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C49
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C49#FFFFFF#000000##FFFFFF
##871C491.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4A
Deuteranopia (green-blind)
#524F47
Tritanopia (blue-blind)
#930530
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871c49;
/* rgb */ color: rgb(135, 28, 73);
/* oklch */ color: oklch(42.0% 0.146 0.6);
Tailwind
colors: {
  custom: {
    50: '#af647b',
    500: '#871c49',
    950: '#000000',
  },
}
SCSS
$custom: #871c49;
$custom-light: #af647b;
$custom-dark: #000000;
JSON
{
  "hex": "#871c49",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 73
  },
  "hsl": {
    "h": 334.766,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42041,
    "c": 0.14565,
    "h": 0.6
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#871C49
secondary
#45BA89
accent
#E9A13F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871C49

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

Preview Lab → · Contrast checker → · Palette generator →

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