#871C3E#871C3E

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

Color values

HEX#871C3E
RGBrgb(135, 28, 62)
HSLhsl(341, 66%, 32%)
HSVhsv(341, 79%, 53%)
CMYKcmyk(0%, 79.3%, 54.1%, 47.1%)
CIE-LABlab(30.23, 46.42, 7.22)
CIE-LCHlch(30.23, 46.98, 8.84°)
OKLaboklab(41.7% 0.1415 0.0186)
OKLCHoklch(41.7% 0.143 7.5)
XYZxyz(11.2775, 6.3308, 5.1846)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C3E #1C8765
analogous
#871C73 #871C3E #87301C
triadic
#871C3E #3E871C #1C3E87
tetradic
#871C3E #73871C #1C8765 #301C87
square
#871C3E #73871C #1C8765 #301C87
split-complementary
#871C3E #1C8730 #1C7387
monochromatic
#22070F #541127 #871C3E #BA2755 #D84574

Accessibility & contrast

On white

9.27
#871C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871C3E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C3E#FFFFFF#000000##FFFFFF
##871C3E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871c3e;
/* rgb */ color: rgb(135, 28, 62);
/* oklch */ color: oklch(41.7% 0.143 7.5);
Tailwind
colors: {
  custom: {
    50: '#b06373',
    500: '#871c3e',
    950: '#000000',
  },
}
SCSS
$custom: #871c3e;
$custom-light: #b06373;
$custom-dark: #000000;
JSON
{
  "hex": "#871c3e",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 62
  },
  "hsl": {
    "h": 340.935,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41699,
    "c": 0.14269,
    "h": 7.5
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#871C3E
secondary
#45BA95
accent
#E9B33F
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #871C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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