#871C3C#871C3C

#871C3C is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.142 H 8.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#871C3C
RGBrgb(135, 28, 60)
HSLhsl(342, 66%, 32%)
HSVhsv(342, 79%, 53%)
CMYKcmyk(0%, 79.3%, 55.6%, 47.1%)
CIE-LABlab(30.18, 46.25, 8.48)
CIE-LCHlch(30.18, 47.02, 10.38°)
OKLaboklab(41.64% 0.1407 0.0216)
OKLCHoklch(41.64% 0.142 8.7)
XYZxyz(11.2236, 6.3092, 4.9009)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C3C #1C8767
analogous
#871C72 #871C3C #87321C
triadic
#871C3C #3C871C #1C3C87
tetradic
#871C3C #72871C #1C8767 #321C87
square
#871C3C #72871C #1C8767 #321C87
split-complementary
#871C3C #1C8732 #1C7287
monochromatic
#22070F #541125 #871C3C #BA2753 #D84571

Accessibility & contrast

On white

9.29
#871C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C3C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C3C#FFFFFF#000000##FFFFFF
##871C3C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393D
Deuteranopia (green-blind)
#544F39
Tritanopia (blue-blind)
#94002A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871c3c;
/* rgb */ color: rgb(135, 28, 60);
/* oklch */ color: oklch(41.6% 0.142 8.7);
Tailwind
colors: {
  custom: {
    50: '#b06371',
    500: '#871c3c',
    950: '#000000',
  },
}
SCSS
$custom: #871c3c;
$custom-light: #b06371;
$custom-dark: #000000;
JSON
{
  "hex": "#871c3c",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 60
  },
  "hsl": {
    "h": 342.056,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41643,
    "c": 0.14232,
    "h": 8.7
  },
  "luminance": 0.06308
}

Semantic roles & 50–950 ramp

primary
#871C3C
secondary
#45BA97
accent
#E9B63F
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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