#871C4B#871C4B

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

Color values

HEX#871C4B
RGBrgb(135, 28, 75)
HSLhsl(334, 66%, 32%)
HSVhsv(334, 79%, 53%)
CMYKcmyk(0%, 79.3%, 44.4%, 47.1%)
CIE-LABlab(30.62, 47.63, -0.85)
CIE-LCHlch(30.62, 47.63, 358.98°)
OKLaboklab(42.11% 0.1463 -0.0017)
OKLCHoklch(42.11% 0.146 359.4)
XYZxyz(11.6778, 6.4909, 7.2932)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C4B #1C8758
analogous
#871C81 #871C4B #87231C
triadic
#871C4B #4B871C #1C4B87
tetradic
#871C4B #81871C #1C8758 #231C87
square
#871C4B #81871C #1C8758 #231C87
split-complementary
#871C4B #1C8723 #1C8187
monochromatic
#220713 #54112F #871C4B #BA2767 #D84586

Accessibility & contrast

On white

9.14
#871C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C4B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C4B#FFFFFF#000000##FFFFFF
##871C4B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4C
Deuteranopia (green-blind)
#514F49
Tritanopia (blue-blind)
#930731
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871c4b;
/* rgb */ color: rgb(135, 28, 75);
/* oklch */ color: oklch(42.1% 0.146 359.4);
Tailwind
colors: {
  custom: {
    50: '#af647d',
    500: '#871c4b',
    950: '#000000',
  },
}
SCSS
$custom: #871c4b;
$custom-light: #af647d;
$custom-dark: #000000;
JSON
{
  "hex": "#871c4b",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 333.645,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42109,
    "c": 0.14635,
    "h": 359.4
  },
  "luminance": 0.06489
}

Semantic roles & 50–950 ramp

primary
#871C4B
secondary
#45BA87
accent
#E99E3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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