#871B5B#871B5B

#871B5B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.155 H 349.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#871B5B
RGBrgb(135, 27, 91)
HSLhsl(324, 67%, 32%)
HSVhsv(324, 80%, 53%)
CMYKcmyk(0%, 80%, 32.6%, 47.1%)
CIE-LABlab(31.09, 49.73, -10.64)
CIE-LCHlch(31.09, 50.85, 347.93°)
OKLaboklab(42.65% 0.1521 -0.0278)
OKLCHoklch(42.65% 0.155 349.6)
XYZxyz(12.2726, 6.6915, 10.5408)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B5B #1B8747
analogous
#7D1B87 #871B5B #871B25
triadic
#871B5B #5B871B #1B5B87
tetradic
#871B5B #877D1B #1B8747 #1B2587
square
#871B5B #877D1B #1B8747 #1B2587
split-complementary
#871B5B #25871B #1B877D
monochromatic
#210716 #541139 #871B5B #BA257D #D9439C

Accessibility & contrast

On white

8.98
#871B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#871B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B5B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B5B#FFFFFF#000000##FFFFFF
##871B5B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5D
Deuteranopia (green-blind)
#4D5059
Tritanopia (blue-blind)
#911339
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871b5b;
/* rgb */ color: rgb(135, 27, 91);
/* oklch */ color: oklch(42.6% 0.155 349.6);
Tailwind
colors: {
  custom: {
    50: '#ae6489',
    500: '#871b5b',
    950: '#000000',
  },
}
SCSS
$custom: #871b5b;
$custom-light: #ae6489;
$custom-dark: #000000;
JSON
{
  "hex": "#871b5b",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 324.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42648,
    "c": 0.15466,
    "h": 349.6
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#871B5B
secondary
#44BA74
accent
#EA843E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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