#871C40#871C40

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

Color values

HEX#871C40
RGBrgb(135, 28, 64)
HSLhsl(340, 66%, 32%)
HSVhsv(340, 79%, 53%)
CMYKcmyk(0%, 79.3%, 52.6%, 47.1%)
CIE-LABlab(30.29, 46.59, 5.97)
CIE-LCHlch(30.29, 46.97, 7.30°)
OKLaboklab(41.76% 0.1423 0.0155)
OKLCHoklch(41.76% 0.143 6.2)
XYZxyz(11.3334, 6.3532, 5.4790)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C40 #1C8763
analogous
#871C76 #871C40 #872E1C
triadic
#871C40 #40871C #1C4087
tetradic
#871C40 #76871C #1C8763 #2E1C87
square
#871C40 #76871C #1C8763 #2E1C87
split-complementary
#871C40 #1C872E #1C7687
monochromatic
#220710 #541128 #871C40 #BA2758 #D84577

Accessibility & contrast

On white

9.25
#871C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C40
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C40#FFFFFF#000000##FFFFFF
##871C401.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#534F3D
Tritanopia (blue-blind)
#94002C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871c40;
/* rgb */ color: rgb(135, 28, 64);
/* oklch */ color: oklch(41.8% 0.143 6.2);
Tailwind
colors: {
  custom: {
    50: '#af6374',
    500: '#871c40',
    950: '#000000',
  },
}
SCSS
$custom: #871c40;
$custom-light: #af6374;
$custom-dark: #000000;
JSON
{
  "hex": "#871c40",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 339.813,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.14311,
    "h": 6.2
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#871C40
secondary
#45BA93
accent
#E9B03F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871C40

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

Preview Lab → · Contrast checker → · Palette generator →

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