#871A50#871A50

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

Color values

HEX#871A50
RGBrgb(135, 26, 80)
HSLhsl(330, 68%, 32%)
HSVhsv(330, 81%, 53%)
CMYKcmyk(0%, 80.7%, 40.7%, 47.1%)
CIE-LABlab(30.57, 48.77, -4.22)
CIE-LCHlch(30.57, 48.95, 355.06°)
OKLaboklab(42.13% 0.15 -0.0105)
OKLCHoklch(42.13% 0.15 356)
XYZxyz(11.8099, 6.4704, 8.2149)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A50 #1A8751
analogous
#871A87 #871A50 #871A1A
triadic
#871A50 #50871A #1A5087
tetradic
#871A50 #87871A #1A8751 #1A1A87
square
#871A50 #87871A #1A8751 #1A1A87
split-complementary
#871A50 #1A871A #1A8787
monochromatic
#200613 #541032 #871A50 #BA246E #DA418D

Accessibility & contrast

On white

9.16
#871A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A50
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A50#FFFFFF#000000##FFFFFF
##871A501.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a50;
/* rgb */ color: rgb(135, 26, 80);
/* oklch */ color: oklch(42.1% 0.150 356.0);
Tailwind
colors: {
  custom: {
    50: '#af6381',
    500: '#871a50',
    950: '#000000',
  },
}
SCSS
$custom: #871a50;
$custom-light: #af6381;
$custom-dark: #000000;
JSON
{
  "hex": "#871a50",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 80
  },
  "hsl": {
    "h": 330.275,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.15036,
    "h": 356
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#871A50
secondary
#42BA7F
accent
#EB953D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871A50

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

Preview Lab → · Contrast checker → · Palette generator →

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