#871B4E#871B4E

#871B4E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.149 H 357.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#871B4E
RGBrgb(135, 27, 78)
HSLhsl(332, 67%, 32%)
HSVhsv(332, 80%, 53%)
CMYKcmyk(0%, 80%, 42.2%, 47.1%)
CIE-LABlab(30.61, 48.25, -2.84)
CIE-LCHlch(30.61, 48.34, 356.63°)
OKLaboklab(42.13% 0.1484 -0.0069)
OKLCHoklch(42.13% 0.149 357.3)
XYZxyz(11.7596, 6.4863, 7.8390)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B4E #1B8754
analogous
#871B84 #871B4E #871E1B
triadic
#871B4E #4E871B #1B4E87
tetradic
#871B4E #84871B #1B8754 #1E1B87
square
#871B4E #84871B #1B8754 #1E1B87
split-complementary
#871B4E #1B871E #1B8487
monochromatic
#210713 #541131 #871B4E #BA256B #D9438A

Accessibility & contrast

On white

9.14
#871B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#871B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B4E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B4E#FFFFFF#000000##FFFFFF
##871B4E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#504F4C
Tritanopia (blue-blind)
#930832
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871b4e;
/* rgb */ color: rgb(135, 27, 78);
/* oklch */ color: oklch(42.1% 0.149 357.3);
Tailwind
colors: {
  custom: {
    50: '#af647f',
    500: '#871b4e',
    950: '#000000',
  },
}
SCSS
$custom: #871b4e;
$custom-light: #af647f;
$custom-dark: #000000;
JSON
{
  "hex": "#871b4e",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 331.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42134,
    "c": 0.14852,
    "h": 357.3
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#871B4E
secondary
#44BA82
accent
#EA993E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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