#871B57#871B57

#871B57 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.153 H 352.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#871B57
RGBrgb(135, 27, 87)
HSLhsl(327, 67%, 32%)
HSVhsv(327, 80%, 53%)
CMYKcmyk(0%, 80%, 35.6%, 47.1%)
CIE-LABlab(30.94, 49.25, -8.26)
CIE-LCHlch(30.94, 49.94, 350.47°)
OKLaboklab(42.48% 0.1511 -0.0213)
OKLCHoklch(42.48% 0.153 352)
XYZxyz(12.1047, 6.6244, 9.6562)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B57 #1B874B
analogous
#811B87 #871B57 #871B21
triadic
#871B57 #57871B #1B5787
tetradic
#871B57 #87811B #1B874B #1B2187
square
#871B57 #87811B #1B874B #1B2187
split-complementary
#871B57 #21871B #1B8781
monochromatic
#210715 #541136 #871B57 #BA2578 #D94397

Accessibility & contrast

On white

9.03
#871B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#871B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B57
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B57#FFFFFF#000000##FFFFFF
##871B571.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C59
Deuteranopia (green-blind)
#4E5055
Tritanopia (blue-blind)
#921037
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871b57;
/* rgb */ color: rgb(135, 27, 87);
/* oklch */ color: oklch(42.5% 0.153 352.0);
Tailwind
colors: {
  custom: {
    50: '#ae6486',
    500: '#871b57',
    950: '#000000',
  },
}
SCSS
$custom: #871b57;
$custom-light: #ae6486;
$custom-dark: #000000;
JSON
{
  "hex": "#871b57",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 326.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.15259,
    "h": 352
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#871B57
secondary
#44BA78
accent
#EA8A3E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871B57

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

Preview Lab → · Contrast checker → · Palette generator →

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