#871E5E#871E5E

#871E5E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.153 H 348.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#871E5E
RGBrgb(135, 30, 94)
HSLhsl(323, 64%, 32%)
HSVhsv(323, 78%, 53%)
CMYKcmyk(0%, 77.8%, 30.4%, 47.1%)
CIE-LABlab(31.55, 49.14, -11.89)
CIE-LCHlch(31.55, 50.56, 346.40°)
OKLaboklab(43.02% 0.1499 -0.0313)
OKLCHoklch(43.02% 0.153 348.2)
XYZxyz(12.4770, 6.8890, 11.2602)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E5E #1E8747
analogous
#7C1E87 #871E5E #871E29
triadic
#871E5E #5E871E #1E5E87
tetradic
#871E5E #877C1E #1E8747 #1E2987
square
#871E5E #877C1E #1E8747 #1E2987
split-complementary
#871E5E #29871E #1E877C
monochromatic
#230818 #55133B #871E5E #B92981 #D7499F

Accessibility & contrast

On white

8.83
#871E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#871E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E5E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E5E#FFFFFF#000000##FFFFFF
##871E5E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F60
Deuteranopia (green-blind)
#4D515C
Tritanopia (blue-blind)
#91193B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871e5e;
/* rgb */ color: rgb(135, 30, 94);
/* oklch */ color: oklch(43.0% 0.153 348.2);
Tailwind
colors: {
  custom: {
    50: '#ae658b',
    500: '#871e5e',
    950: '#000000',
  },
}
SCSS
$custom: #871e5e;
$custom-light: #ae658b;
$custom-dark: #000000;
JSON
{
  "hex": "#871e5e",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 323.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43022,
    "c": 0.15311,
    "h": 348.2
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#871E5E
secondary
#48B974
accent
#E78241
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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