#871E50#871E50

#871E50 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.146 H 356.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#871E50
RGBrgb(135, 30, 80)
HSLhsl(331, 64%, 32%)
HSVhsv(331, 78%, 53%)
CMYKcmyk(0%, 77.8%, 40.7%, 47.1%)
CIE-LABlab(31.02, 47.49, -3.55)
CIE-LCHlch(31.02, 47.63, 355.73°)
OKLaboklab(42.46% 0.1459 -0.0087)
OKLCHoklch(42.46% 0.146 356.6)
XYZxyz(11.9047, 6.6601, 8.2465)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E50 #1E8755
analogous
#871E84 #871E50 #87211E
triadic
#871E50 #50871E #1E5087
tetradic
#871E50 #84871E #1E8755 #211E87
square
#871E50 #84871E #1E8755 #211E87
split-complementary
#871E50 #1E8721 #1E8487
monochromatic
#230815 #551332 #871E50 #B9296E #D7498C

Accessibility & contrast

On white

9.01
#871E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#871E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E50
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E50#FFFFFF#000000##FFFFFF
##871E501.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C51
Deuteranopia (green-blind)
#51504E
Tritanopia (blue-blind)
#920F34
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e50;
/* rgb */ color: rgb(135, 30, 80);
/* oklch */ color: oklch(42.5% 0.146 356.6);
Tailwind
colors: {
  custom: {
    50: '#ae6581',
    500: '#871e50',
    950: '#000000',
  },
}
SCSS
$custom: #871e50;
$custom-light: #ae6581;
$custom-dark: #000000;
JSON
{
  "hex": "#871e50",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 80
  },
  "hsl": {
    "h": 331.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.14617,
    "h": 356.6
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#871E50
secondary
#48B983
accent
#E79841
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871E50

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

Preview Lab → · Contrast checker → · Palette generator →

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