#871C41#871C41

#871C41 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.143 H 5.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#871C41
RGBrgb(135, 28, 65)
HSLhsl(339, 66%, 32%)
HSVhsv(339, 79%, 53%)
CMYKcmyk(0%, 79.3%, 51.9%, 47.1%)
CIE-LABlab(30.31, 46.68, 5.34)
CIE-LCHlch(30.31, 46.98, 6.53°)
OKLaboklab(41.79% 0.1427 0.014)
OKLCHoklch(41.79% 0.143 5.6)
XYZxyz(11.3621, 6.3646, 5.6302)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C41 #1C8762
analogous
#871C77 #871C41 #872C1C
triadic
#871C41 #41871C #1C4187
tetradic
#871C41 #77871C #1C8762 #2C1C87
square
#871C41 #77871C #1C8762 #2C1C87
split-complementary
#871C41 #1C872C #1C7787
monochromatic
#220710 #541129 #871C41 #BA2759 #D84578

Accessibility & contrast

On white

9.24
#871C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C41
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C41#FFFFFF#000000##FFFFFF
##871C411.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A42
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#93002C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871c41;
/* rgb */ color: rgb(135, 28, 65);
/* oklch */ color: oklch(41.8% 0.143 5.6);
Tailwind
colors: {
  custom: {
    50: '#af6375',
    500: '#871c41',
    950: '#000000',
  },
}
SCSS
$custom: #871c41;
$custom-light: #af6375;
$custom-dark: #000000;
JSON
{
  "hex": "#871c41",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 339.252,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41786,
    "c": 0.14334,
    "h": 5.6
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#871C41
secondary
#45BA91
accent
#E9AE3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871C41

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

Preview Lab → · Contrast checker → · Palette generator →

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