#871B41#871B41

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

Color values

HEX#871B41
RGBrgb(135, 27, 65)
HSLhsl(339, 67%, 32%)
HSVhsv(339, 80%, 53%)
CMYKcmyk(0%, 80%, 51.9%, 47.1%)
CIE-LABlab(30.20, 47.00, 5.18)
CIE-LCHlch(30.20, 47.28, 6.29°)
OKLaboklab(41.7% 0.1437 0.0136)
OKLCHoklch(41.7% 0.144 5.4)
XYZxyz(11.3388, 6.3180, 5.6224)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B41 #1B8761
analogous
#871B77 #871B41 #872B1B
triadic
#871B41 #41871B #1B4187
tetradic
#871B41 #77871B #1B8761 #2B1B87
square
#871B41 #77871B #1B8761 #2B1B87
split-complementary
#871B41 #1B872B #1B7787
monochromatic
#210710 #541128 #871B41 #BA255A #D94378

Accessibility & contrast

On white

9.28
#871B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B41
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B41#FFFFFF#000000##FFFFFF
##871B411.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373942
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#93002C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871b41;
/* rgb */ color: rgb(135, 27, 65);
/* oklch */ color: oklch(41.7% 0.144 5.4);
Tailwind
colors: {
  custom: {
    50: '#af6375',
    500: '#871b41',
    950: '#000000',
  },
}
SCSS
$custom: #871b41;
$custom-light: #af6375;
$custom-dark: #000000;
JSON
{
  "hex": "#871b41",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 338.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.14432,
    "h": 5.4
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#871B41
secondary
#44BA90
accent
#EAAD3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871B41

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

Preview Lab → · Contrast checker → · Palette generator →

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