#871D39#871D39

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

Color values

HEX#871D39
RGBrgb(135, 29, 57)
HSLhsl(344, 65%, 32%)
HSVhsv(344, 79%, 53%)
CMYKcmyk(0%, 78.5%, 57.8%, 47.1%)
CIE-LABlab(30.22, 45.68, 10.53)
CIE-LCHlch(30.22, 46.88, 12.98°)
OKLaboklab(41.65% 0.1384 0.0265)
OKLCHoklch(41.65% 0.141 10.8)
XYZxyz(11.1706, 6.3266, 4.5031)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D39 #1D876B
analogous
#871D6E #871D39 #87361D
triadic
#871D39 #39871D #1D3987
tetradic
#871D39 #6E871D #1D876B #361D87
square
#871D39 #6E871D #1D876B #361D87
split-complementary
#871D39 #1D8736 #1D6E87
monochromatic
#22070E #551224 #871D39 #B9284E #D7476D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871D39#FFFFFF#000000##FFFFFF
##871D391.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)
#393939
Deuteranopia (green-blind)
#554F36
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871d39;
/* rgb */ color: rgb(135, 29, 57);
/* oklch */ color: oklch(41.6% 0.141 10.8);
Tailwind
colors: {
  custom: {
    50: '#b0646f',
    500: '#871d39',
    950: '#000000',
  },
}
SCSS
$custom: #871d39;
$custom-light: #b0646f;
$custom-dark: #000000;
JSON
{
  "hex": "#871d39",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 344.151,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.14089,
    "h": 10.8
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#871D39
secondary
#46B99B
accent
#E8BB40
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871D39

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

Preview Lab → · Contrast checker → · Palette generator →

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