#871958#871958

#871958 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.155 H 351.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#871958
RGBrgb(135, 25, 88)
HSLhsl(326, 69%, 31%)
HSVhsv(326, 81%, 53%)
CMYKcmyk(0%, 81.5%, 34.8%, 47.1%)
CIE-LABlab(30.76, 49.97, -9.18)
CIE-LCHlch(30.76, 50.80, 349.59°)
OKLaboklab(42.37% 0.1533 -0.0238)
OKLCHoklch(42.37% 0.155 351.2)
XYZxyz(12.1015, 6.5522, 9.8581)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871958 #198748
analogous
#7F1987 #871958 #871921
triadic
#871958 #588719 #195887
tetradic
#871958 #877F19 #198748 #192187
square
#871958 #877F19 #198748 #192187
split-complementary
#871958 #218719 #19877F
monochromatic
#200615 #530F36 #871958 #BB237A #DB3F99

Accessibility & contrast

On white

9.09
#871958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#871958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871958
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871958#FFFFFF#000000##FFFFFF
##8719581.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3C5A
Deuteranopia (green-blind)
#4D4F56
Tritanopia (blue-blind)
#920E36
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871958;
/* rgb */ color: rgb(135, 25, 88);
/* oklch */ color: oklch(42.4% 0.155 351.2);
Tailwind
colors: {
  custom: {
    50: '#ae6387',
    500: '#871958',
    950: '#000000',
  },
}
SCSS
$custom: #871958;
$custom-light: #ae6387;
$custom-dark: #000000;
JSON
{
  "hex": "#871958",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 325.636,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4237,
    "c": 0.15509,
    "h": 351.2
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#871958
secondary
#41BA75
accent
#EC873C
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871958

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

Preview Lab → · Contrast checker → · Palette generator →

#871958 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva