#871D40#871D40

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

Color values

HEX#871D40
RGBrgb(135, 29, 64)
HSLhsl(340, 65%, 32%)
HSVhsv(340, 79%, 53%)
CMYKcmyk(0%, 78.5%, 52.6%, 47.1%)
CIE-LABlab(30.40, 46.26, 6.13)
CIE-LCHlch(30.40, 46.66, 7.55°)
OKLaboklab(41.84% 0.1412 0.016)
OKLCHoklch(41.84% 0.142 6.4)
XYZxyz(11.3575, 6.4014, 5.4870)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D40 #1D8764
analogous
#871D75 #871D40 #872F1D
triadic
#871D40 #40871D #1D4087
tetradic
#871D40 #75871D #1D8764 #2F1D87
square
#871D40 #75871D #1D8764 #2F1D87
split-complementary
#871D40 #1D872F #1D7587
monochromatic
#220710 #551228 #871D40 #B92858 #D74777

Accessibility & contrast

On white

9.21
#871D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D40
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D40#FFFFFF#000000##FFFFFF
##871D401.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871d40;
/* rgb */ color: rgb(135, 29, 64);
/* oklch */ color: oklch(41.8% 0.142 6.4);
Tailwind
colors: {
  custom: {
    50: '#af6474',
    500: '#871d40',
    950: '#000000',
  },
}
SCSS
$custom: #871d40;
$custom-light: #af6474;
$custom-dark: #000000;
JSON
{
  "hex": "#871d40",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 340.189,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.1421,
    "h": 6.4
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#871D40
secondary
#46B993
accent
#E8B040
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871D40

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

Preview Lab → · Contrast checker → · Palette generator →

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