#871E41#871E41

#871E41 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.141 H 6.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#871E41
RGBrgb(135, 30, 65)
HSLhsl(340, 64%, 32%)
HSVhsv(340, 78%, 53%)
CMYKcmyk(0%, 77.8%, 51.9%, 47.1%)
CIE-LABlab(30.55, 46.01, 5.68)
CIE-LCHlch(30.55, 46.36, 7.04°)
OKLaboklab(41.96% 0.1405 0.0148)
OKLCHoklch(41.96% 0.141 6)
XYZxyz(11.4111, 6.4627, 5.6465)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E41 #1E8764
analogous
#871E76 #871E41 #87301E
triadic
#871E41 #41871E #1E4187
tetradic
#871E41 #76871E #1E8764 #301E87
square
#871E41 #76871E #1E8764 #301E87
split-complementary
#871E41 #1E8730 #1E7687
monochromatic
#230811 #551329 #871E41 #B92959 #D74978

Accessibility & contrast

On white

9.16
#871E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E41
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E41#FFFFFF#000000##FFFFFF
##871E411.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B42
Deuteranopia (green-blind)
#544F3E
Tritanopia (blue-blind)
#93032D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871e41;
/* rgb */ color: rgb(135, 30, 65);
/* oklch */ color: oklch(42.0% 0.141 6.0);
Tailwind
colors: {
  custom: {
    50: '#af6475',
    500: '#871e41',
    950: '#000000',
  },
}
SCSS
$custom: #871e41;
$custom-light: #af6475;
$custom-dark: #000000;
JSON
{
  "hex": "#871e41",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 340,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.14129,
    "h": 6
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#871E41
secondary
#48B993
accent
#E7AF41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871E41

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

Preview Lab → · Contrast checker → · Palette generator →

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