#871E5D#871E5D

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

Color values

HEX#871E5D
RGBrgb(135, 30, 93)
HSLhsl(324, 64%, 32%)
HSVhsv(324, 78%, 53%)
CMYKcmyk(0%, 77.8%, 31.1%, 47.1%)
CIE-LABlab(31.51, 49.02, -11.30)
CIE-LCHlch(31.51, 50.30, 347.02°)
OKLaboklab(42.98% 0.1496 -0.0296)
OKLCHoklch(42.98% 0.153 348.8)
XYZxyz(12.4324, 6.8712, 11.0254)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E5D #1E8748
analogous
#7C1E87 #871E5D #871E29
triadic
#871E5D #5D871E #1E5D87
tetradic
#871E5D #877C1E #1E8748 #1E2987
square
#871E5D #877C1E #1E8748 #1E2987
split-complementary
#871E5D #29871E #1E877C
monochromatic
#230818 #55133B #871E5D #B9297F #D7499E

Accessibility & contrast

On white

8.85
#871E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#871E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E5D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E5D#FFFFFF#000000##FFFFFF
##871E5D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5F
Deuteranopia (green-blind)
#4E515B
Tritanopia (blue-blind)
#91183B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871e5d;
/* rgb */ color: rgb(135, 30, 93);
/* oklch */ color: oklch(43.0% 0.153 348.8);
Tailwind
colors: {
  custom: {
    50: '#ae658b',
    500: '#871e5d',
    950: '#000000',
  },
}
SCSS
$custom: #871e5d;
$custom-light: #ae658b;
$custom-dark: #000000;
JSON
{
  "hex": "#871e5d",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 324,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.15255,
    "h": 348.8
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#871E5D
secondary
#48B975
accent
#E78341
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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