#871E4C#871E4C

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

Color values

HEX#871E4C
RGBrgb(135, 30, 76)
HSLhsl(334, 64%, 32%)
HSVhsv(334, 78%, 53%)
CMYKcmyk(0%, 77.8%, 43.7%, 47.1%)
CIE-LABlab(30.89, 47.07, -1.12)
CIE-LCHlch(30.89, 47.08, 358.64°)
OKLaboklab(42.32% 0.1446 -0.0024)
OKLCHoklch(42.32% 0.145 359.1)
XYZxyz(11.7613, 6.6028, 7.4912)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E4C #1E8759
analogous
#871E81 #871E4C #87241E
triadic
#871E4C #4C871E #1E4C87
tetradic
#871E4C #81871E #1E8759 #241E87
square
#871E4C #81871E #1E8759 #241E87
split-complementary
#871E4C #1E8724 #1E8187
monochromatic
#230814 #551330 #871E4C #B92968 #D74987

Accessibility & contrast

On white

9.05
#871E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E4C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E4C#FFFFFF#000000##FFFFFF
##871E4C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4D
Deuteranopia (green-blind)
#52504A
Tritanopia (blue-blind)
#930C32
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e4c;
/* rgb */ color: rgb(135, 30, 76);
/* oklch */ color: oklch(42.3% 0.145 359.1);
Tailwind
colors: {
  custom: {
    50: '#af657d',
    500: '#871e4c',
    950: '#000000',
  },
}
SCSS
$custom: #871e4c;
$custom-light: #af657d;
$custom-dark: #000000;
JSON
{
  "hex": "#871e4c",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 333.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42316,
    "c": 0.14459,
    "h": 359.1
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#871E4C
secondary
#48B987
accent
#E79E41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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