#871956#871956

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

Color values

HEX#871956
RGBrgb(135, 25, 86)
HSLhsl(327, 69%, 31%)
HSVhsv(327, 81%, 53%)
CMYKcmyk(0%, 81.5%, 36.3%, 47.1%)
CIE-LABlab(30.69, 49.73, -7.99)
CIE-LCHlch(30.69, 50.37, 350.88°)
OKLaboklab(42.29% 0.1527 -0.0206)
OKLCHoklch(42.29% 0.154 352.3)
XYZxyz(12.0198, 6.5195, 9.4277)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871956 #19874A
analogous
#811987 #871956 #87191F
triadic
#871956 #568719 #195687
tetradic
#871956 #878119 #19874A #191F87
square
#871956 #878119 #19874A #191F87
split-complementary
#871956 #1F8719 #198781
monochromatic
#200614 #530F35 #871956 #BB2377 #DB3F96

Accessibility & contrast

On white

9.12
#871956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#871956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871956
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871956#FFFFFF#000000##FFFFFF
##8719561.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C58
Deuteranopia (green-blind)
#4E4F54
Tritanopia (blue-blind)
#920C35
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871956;
/* rgb */ color: rgb(135, 25, 86);
/* oklch */ color: oklch(42.3% 0.154 352.3);
Tailwind
colors: {
  custom: {
    50: '#ae6385',
    500: '#871956',
    950: '#000000',
  },
}
SCSS
$custom: #871956;
$custom-light: #ae6385;
$custom-dark: #000000;
JSON
{
  "hex": "#871956",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 326.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42288,
    "c": 0.15409,
    "h": 352.3
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#871956
secondary
#41BA77
accent
#EC8A3C
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871956

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

Preview Lab → · Contrast checker → · Palette generator →

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