#871C4A#871C4A

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

Color values

HEX#871C4A
RGBrgb(135, 28, 74)
HSLhsl(334, 66%, 32%)
HSVhsv(334, 79%, 53%)
CMYKcmyk(0%, 79.3%, 45.2%, 47.1%)
CIE-LABlab(30.59, 47.52, -0.23)
CIE-LCHlch(30.59, 47.52, 359.72°)
OKLaboklab(42.08% 0.146 -0.0001)
OKLCHoklch(42.08% 0.146 0)
XYZxyz(11.6439, 6.4774, 7.1143)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C4A #1C8759
analogous
#871C80 #871C4A #87241C
triadic
#871C4A #4A871C #1C4A87
tetradic
#871C4A #80871C #1C8759 #241C87
square
#871C4A #80871C #1C8759 #241C87
split-complementary
#871C4A #1C8724 #1C8087
monochromatic
#220712 #54112E #871C4A #BA2766 #D84584

Accessibility & contrast

On white

9.15
#871C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#871C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C4A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C4A#FFFFFF#000000##FFFFFF
##871C4A1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4B
Deuteranopia (green-blind)
#524F48
Tritanopia (blue-blind)
#930630
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871c4a;
/* rgb */ color: rgb(135, 28, 74);
/* oklch */ color: oklch(42.1% 0.146 360.0);
Tailwind
colors: {
  custom: {
    50: '#af647c',
    500: '#871c4a',
    950: '#000000',
  },
}
SCSS
$custom: #871c4a;
$custom-light: #af647c;
$custom-dark: #000000;
JSON
{
  "hex": "#871c4a",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 334.206,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.14599,
    "h": 360
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#871C4A
secondary
#45BA88
accent
#E9A03F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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