#871E4A#871E4A

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

Color values

HEX#871E4A
RGBrgb(135, 30, 74)
HSLhsl(335, 64%, 32%)
HSVhsv(335, 78%, 53%)
CMYKcmyk(0%, 77.8%, 45.2%, 47.1%)
CIE-LABlab(30.82, 46.86, 0.11)
CIE-LCHlch(30.82, 46.86, 0.13°)
OKLaboklab(42.25% 0.1439 0.0008)
OKLCHoklch(42.25% 0.144 0.3)
XYZxyz(11.6929, 6.5754, 7.1307)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E4A #1E875B
analogous
#871E7F #871E4A #87271E
triadic
#871E4A #4A871E #1E4A87
tetradic
#871E4A #7F871E #1E875B #271E87
square
#871E4A #7F871E #1E875B #271E87
split-complementary
#871E4A #1E8727 #1E7F87
monochromatic
#230813 #55132F #871E4A #B92965 #D74984

Accessibility & contrast

On white

9.07
#871E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#871E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E4A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E4A#FFFFFF#000000##FFFFFF
##871E4A1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4B
Deuteranopia (green-blind)
#525048
Tritanopia (blue-blind)
#930B31
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e4a;
/* rgb */ color: rgb(135, 30, 74);
/* oklch */ color: oklch(42.2% 0.144 0.3);
Tailwind
colors: {
  custom: {
    50: '#af657c',
    500: '#871e4a',
    950: '#000000',
  },
}
SCSS
$custom: #871e4a;
$custom-light: #af657c;
$custom-dark: #000000;
JSON
{
  "hex": "#871e4a",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 334.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42247,
    "c": 0.14387,
    "h": 0.3
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#871E4A
secondary
#48B98A
accent
#E7A141
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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