#871A39#871A39

#871A39 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.144 H 10.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#871A39
RGBrgb(135, 26, 57)
HSLhsl(343, 68%, 32%)
HSVhsv(343, 81%, 53%)
CMYKcmyk(0%, 80.7%, 57.8%, 47.1%)
CIE-LABlab(29.88, 46.65, 10.06)
CIE-LCHlch(29.88, 47.72, 12.17°)
OKLaboklab(41.4% 0.1415 0.0253)
OKLCHoklch(41.4% 0.144 10.1)
XYZxyz(11.1007, 6.1867, 4.4797)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A39 #1A8768
analogous
#871A70 #871A39 #87321A
triadic
#871A39 #39871A #1A3987
tetradic
#871A39 #70871A #1A8768 #321A87
square
#871A39 #70871A #1A8768 #321A87
split-complementary
#871A39 #1A8732 #1A7087
monochromatic
#20060E #541023 #871A39 #BA244F #DA416D

Accessibility & contrast

On white

9.39
#871A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A39
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A39#FFFFFF#000000##FFFFFF
##871A391.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383839
Deuteranopia (green-blind)
#544E36
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871a39;
/* rgb */ color: rgb(135, 26, 57);
/* oklch */ color: oklch(41.4% 0.144 10.1);
Tailwind
colors: {
  custom: {
    50: '#b0626f',
    500: '#871a39',
    950: '#000000',
  },
}
SCSS
$custom: #871a39;
$custom-light: #b0626f;
$custom-dark: #000000;
JSON
{
  "hex": "#871a39",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 342.936,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41397,
    "c": 0.14375,
    "h": 10.1
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#871A39
secondary
#42BA98
accent
#EBB93D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871A39

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

Preview Lab → · Contrast checker → · Palette generator →

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