#871A58#871A58

#871A58 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.154 H 351.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#871A58
RGBrgb(135, 26, 88)
HSLhsl(326, 68%, 32%)
HSVhsv(326, 81%, 53%)
CMYKcmyk(0%, 80.7%, 34.8%, 47.1%)
CIE-LABlab(30.87, 49.67, -9.02)
CIE-LCHlch(30.87, 50.48, 349.71°)
OKLaboklab(42.45% 0.1523 -0.0234)
OKLCHoklch(42.45% 0.154 351.3)
XYZxyz(12.1233, 6.5957, 9.8653)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A58 #1A8749
analogous
#801A87 #871A58 #871A21
triadic
#871A58 #58871A #1A5887
tetradic
#871A58 #87801A #1A8749 #1A2187
square
#871A58 #87801A #1A8749 #1A2187
split-complementary
#871A58 #21871A #1A8780
monochromatic
#200615 #541037 #871A58 #BA2479 #DA4198

Accessibility & contrast

On white

9.06
#871A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A58
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A58#FFFFFF#000000##FFFFFF
##871A581.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a58;
/* rgb */ color: rgb(135, 26, 88);
/* oklch */ color: oklch(42.4% 0.154 351.3);
Tailwind
colors: {
  custom: {
    50: '#ae6487',
    500: '#871a58',
    950: '#000000',
  },
}
SCSS
$custom: #871a58;
$custom-light: #ae6487;
$custom-dark: #000000;
JSON
{
  "hex": "#871a58",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 325.872,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.15411,
    "h": 351.3
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#871A58
secondary
#42BA76
accent
#EB883D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871A58

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

Preview Lab → · Contrast checker → · Palette generator →

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