#871B51#871B51

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

Color values

HEX#871B51
RGBrgb(135, 27, 81)
HSLhsl(330, 67%, 32%)
HSVhsv(330, 80%, 53%)
CMYKcmyk(0%, 80%, 40%, 47.1%)
CIE-LABlab(30.71, 48.57, -4.66)
CIE-LCHlch(30.71, 48.80, 354.52°)
OKLaboklab(42.25% 0.1493 -0.0117)
OKLCHoklch(42.25% 0.15 355.5)
XYZxyz(11.8696, 6.5304, 8.4184)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B51 #1B8751
analogous
#871B87 #871B51 #871B1B
triadic
#871B51 #51871B #1B5187
tetradic
#871B51 #87871B #1B8751 #1B1B87
square
#871B51 #87871B #1B8751 #1B1B87
split-complementary
#871B51 #1B871B #1B8787
monochromatic
#210714 #541132 #871B51 #BA2570 #D9438E

Accessibility & contrast

On white

9.11
#871B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#871B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B51
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B51#FFFFFF#000000##FFFFFF
##871B511.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C52
Deuteranopia (green-blind)
#504F4F
Tritanopia (blue-blind)
#920B34
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871b51;
/* rgb */ color: rgb(135, 27, 81);
/* oklch */ color: oklch(42.2% 0.150 355.5);
Tailwind
colors: {
  custom: {
    50: '#af6481',
    500: '#871b51',
    950: '#000000',
  },
}
SCSS
$custom: #871b51;
$custom-light: #af6481;
$custom-dark: #000000;
JSON
{
  "hex": "#871b51",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 330,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42246,
    "c": 0.14978,
    "h": 355.5
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#871B51
secondary
#44BA7F
accent
#EA943E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871B51

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

Preview Lab → · Contrast checker → · Palette generator →

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