#871957#871957

#871957 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.155 H 351.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#871957
RGBrgb(135, 25, 87)
HSLhsl(326, 69%, 31%)
HSVhsv(326, 81%, 53%)
CMYKcmyk(0%, 81.5%, 35.6%, 47.1%)
CIE-LABlab(30.73, 49.85, -8.58)
CIE-LCHlch(30.73, 50.58, 350.23°)
OKLaboklab(42.33% 0.153 -0.0222)
OKLCHoklch(42.33% 0.155 351.7)
XYZxyz(12.0604, 6.5358, 9.6414)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871957 #198749
analogous
#801987 #871957 #871920
triadic
#871957 #578719 #195787
tetradic
#871957 #878019 #198749 #192087
square
#871957 #878019 #198749 #192087
split-complementary
#871957 #208719 #198780
monochromatic
#200614 #530F36 #871957 #BB2378 #DB3F97

Accessibility & contrast

On white

9.10
#871957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871957
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871957#FFFFFF#000000##FFFFFF
##8719571.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3C59
Deuteranopia (green-blind)
#4E4F55
Tritanopia (blue-blind)
#920D36
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871957;
/* rgb */ color: rgb(135, 25, 87);
/* oklch */ color: oklch(42.3% 0.155 351.7);
Tailwind
colors: {
  custom: {
    50: '#ae6386',
    500: '#871957',
    950: '#000000',
  },
}
SCSS
$custom: #871957;
$custom-light: #ae6386;
$custom-dark: #000000;
JSON
{
  "hex": "#871957",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 326.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.15458,
    "h": 351.7
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#871957
secondary
#41BA76
accent
#EC893C
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871957

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

Preview Lab → · Contrast checker → · Palette generator →

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