#871E40#871E40

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

Color values

HEX#871E40
RGBrgb(135, 30, 64)
HSLhsl(341, 64%, 32%)
HSVhsv(341, 78%, 53%)
CMYKcmyk(0%, 77.8%, 52.6%, 47.1%)
CIE-LABlab(30.52, 45.92, 6.30)
CIE-LCHlch(30.52, 46.35, 7.81°)
OKLaboklab(41.93% 0.1401 0.0164)
OKLCHoklch(41.93% 0.141 6.7)
XYZxyz(11.3824, 6.4512, 5.4953)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E40 #1E8765
analogous
#871E75 #871E40 #87301E
triadic
#871E40 #40871E #1E4087
tetradic
#871E40 #75871E #1E8765 #301E87
square
#871E40 #75871E #1E8765 #301E87
split-complementary
#871E40 #1E8730 #1E7587
monochromatic
#230811 #551328 #871E40 #B92958 #D74977

Accessibility & contrast

On white

9.17
#871E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E40
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E40#FFFFFF#000000##FFFFFF
##871E401.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B41
Deuteranopia (green-blind)
#544F3D
Tritanopia (blue-blind)
#94022C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871e40;
/* rgb */ color: rgb(135, 30, 64);
/* oklch */ color: oklch(41.9% 0.141 6.7);
Tailwind
colors: {
  custom: {
    50: '#af6474',
    500: '#871e40',
    950: '#000000',
  },
}
SCSS
$custom: #871e40;
$custom-light: #af6474;
$custom-dark: #000000;
JSON
{
  "hex": "#871e40",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 340.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.14106,
    "h": 6.7
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#871E40
secondary
#48B994
accent
#E7B141
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871E40

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

Preview Lab → · Contrast checker → · Palette generator →

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