#871E4B#871E4B

#871E4B is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.144 H 359.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#871E4B
RGBrgb(135, 30, 75)
HSLhsl(334, 64%, 32%)
HSVhsv(334, 78%, 53%)
CMYKcmyk(0%, 77.8%, 44.4%, 47.1%)
CIE-LABlab(30.85, 46.96, -0.50)
CIE-LCHlch(30.85, 46.97, 359.38°)
OKLaboklab(42.28% 0.1442 -0.0008)
OKLCHoklch(42.28% 0.144 359.7)
XYZxyz(11.7268, 6.5890, 7.3095)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E4B #1E875A
analogous
#871E7F #871E4B #87261E
triadic
#871E4B #4B871E #1E4B87
tetradic
#871E4B #7F871E #1E875A #261E87
square
#871E4B #7F871E #1E875A #261E87
split-complementary
#871E4B #1E8726 #1E7F87
monochromatic
#230813 #55132F #871E4B #B92967 #D74986

Accessibility & contrast

On white

9.06
#871E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#871E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E4B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E4B#FFFFFF#000000##FFFFFF
##871E4B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4C
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#930B32
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e4b;
/* rgb */ color: rgb(135, 30, 75);
/* oklch */ color: oklch(42.3% 0.144 359.7);
Tailwind
colors: {
  custom: {
    50: '#af657d',
    500: '#871e4b',
    950: '#000000',
  },
}
SCSS
$custom: #871e4b;
$custom-light: #af657d;
$custom-dark: #000000;
JSON
{
  "hex": "#871e4b",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 334.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.14423,
    "h": 359.7
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#871E4B
secondary
#48B988
accent
#E7A041
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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