#871C3F#871C3F

#871C3F is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.143 H 6.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#871C3F
RGBrgb(135, 28, 63)
HSLhsl(340, 66%, 32%)
HSVhsv(340, 79%, 53%)
CMYKcmyk(0%, 79.3%, 53.3%, 47.1%)
CIE-LABlab(30.26, 46.50, 6.59)
CIE-LCHlch(30.26, 46.97, 8.07°)
OKLaboklab(41.73% 0.1419 0.0171)
OKLCHoklch(41.73% 0.143 6.9)
XYZxyz(11.3052, 6.3419, 5.3305)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C3F #1C8764
analogous
#871C75 #871C3F #872F1C
triadic
#871C3F #3F871C #1C3F87
tetradic
#871C3F #75871C #1C8764 #2F1C87
square
#871C3F #75871C #1C8764 #2F1C87
split-complementary
#871C3F #1C872F #1C7587
monochromatic
#220710 #541127 #871C3F #BA2757 #D84575

Accessibility & contrast

On white

9.26
#871C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C3F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C3F#FFFFFF#000000##FFFFFF
##871C3F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#544F3C
Tritanopia (blue-blind)
#94002B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871c3f;
/* rgb */ color: rgb(135, 28, 63);
/* oklch */ color: oklch(41.7% 0.143 6.9);
Tailwind
colors: {
  custom: {
    50: '#b06373',
    500: '#871c3f',
    950: '#000000',
  },
}
SCSS
$custom: #871c3f;
$custom-light: #b06373;
$custom-dark: #000000;
JSON
{
  "hex": "#871c3f",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 340.374,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.14289,
    "h": 6.9
  },
  "luminance": 0.0634
}

Semantic roles & 50–950 ramp

primary
#871C3F
secondary
#45BA94
accent
#E9B13F
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #871C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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