#871B50#871B50

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

Color values

HEX#871B50
RGBrgb(135, 27, 80)
HSLhsl(331, 67%, 32%)
HSVhsv(331, 80%, 53%)
CMYKcmyk(0%, 80%, 40.7%, 47.1%)
CIE-LABlab(30.68, 48.46, -4.06)
CIE-LCHlch(30.68, 48.63, 355.21°)
OKLaboklab(42.21% 0.149 -0.0101)
OKLCHoklch(42.21% 0.149 356.1)
XYZxyz(11.8324, 6.5155, 8.2224)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B50 #1B8752
analogous
#871B86 #871B50 #871C1B
triadic
#871B50 #50871B #1B5087
tetradic
#871B50 #86871B #1B8752 #1C1B87
square
#871B50 #86871B #1B8752 #1C1B87
split-complementary
#871B50 #1B871C #1B8687
monochromatic
#210714 #541132 #871B50 #BA256E #D9438D

Accessibility & contrast

On white

9.12
#871B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B50
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B50#FFFFFF#000000##FFFFFF
##871B501.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B51
Deuteranopia (green-blind)
#504F4E
Tritanopia (blue-blind)
#920A33
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871b50;
/* rgb */ color: rgb(135, 27, 80);
/* oklch */ color: oklch(42.2% 0.149 356.1);
Tailwind
colors: {
  custom: {
    50: '#af6481',
    500: '#871b50',
    950: '#000000',
  },
}
SCSS
$custom: #871b50;
$custom-light: #af6481;
$custom-dark: #000000;
JSON
{
  "hex": "#871b50",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 330.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42208,
    "c": 0.14935,
    "h": 356.1
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#871B50
secondary
#44BA80
accent
#EA953E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871B50

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

Preview Lab → · Contrast checker → · Palette generator →

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