#871E48#871E48

#871E48 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.143 H 1.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#871E48
RGBrgb(135, 30, 72)
HSLhsl(336, 64%, 32%)
HSVhsv(336, 78%, 53%)
CMYKcmyk(0%, 77.8%, 46.7%, 47.1%)
CIE-LABlab(30.76, 46.66, 1.34)
CIE-LCHlch(30.76, 46.68, 1.64°)
OKLaboklab(42.18% 0.1432 0.004)
OKLCHoklch(42.18% 0.143 1.6)
XYZxyz(11.6266, 6.5489, 6.7815)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E48 #1E875D
analogous
#871E7C #871E48 #87291E
triadic
#871E48 #48871E #1E4887
tetradic
#871E48 #7C871E #1E875D #291E87
square
#871E48 #7C871E #1E875D #291E87
split-complementary
#871E48 #1E8729 #1E7C87
monochromatic
#230813 #55132D #871E48 #B92963 #D74982

Accessibility & contrast

On white

9.09
#871E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E48
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E48#FFFFFF#000000##FFFFFF
##871E481.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#525046
Tritanopia (blue-blind)
#930930
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871e48;
/* rgb */ color: rgb(135, 30, 72);
/* oklch */ color: oklch(42.2% 0.143 1.6);
Tailwind
colors: {
  custom: {
    50: '#af647a',
    500: '#871e48',
    950: '#000000',
  },
}
SCSS
$custom: #871e48;
$custom-light: #af647a;
$custom-dark: #000000;
JSON
{
  "hex": "#871e48",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 336,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4218,
    "c": 0.14321,
    "h": 1.6
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#871E48
secondary
#48B98C
accent
#E7A441
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871E48

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

Preview Lab → · Contrast checker → · Palette generator →

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