#871657#871657

#871657 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 351.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#871657
RGBrgb(135, 22, 87)
HSLhsl(325, 72%, 31%)
HSVhsv(325, 84%, 53%)
CMYKcmyk(0%, 83.7%, 35.6%, 47.1%)
CIE-LABlab(30.43, 50.68, -9.02)
CIE-LCHlch(30.43, 51.48, 349.91°)
OKLaboklab(42.12% 0.1556 -0.0234)
OKLCHoklch(42.12% 0.157 351.5)
XYZxyz(11.9996, 6.4143, 9.6212)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871657 #168746
analogous
#7E1687 #871657 #87161E
triadic
#871657 #578716 #165787
tetradic
#871657 #877E16 #168746 #161E87
square
#871657 #877E16 #168746 #161E87
split-complementary
#871657 #1E8716 #16877E
monochromatic
#1E0513 #520D35 #871657 #BC1F79 #DF3998

Accessibility & contrast

On white

9.20
#871657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871657
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871657#FFFFFF#000000##FFFFFF
##8716571.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B59
Deuteranopia (green-blind)
#4D4F55
Tritanopia (blue-blind)
#920835
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871657;
/* rgb */ color: rgb(135, 22, 87);
/* oklch */ color: oklch(42.1% 0.157 351.5);
Tailwind
colors: {
  custom: {
    50: '#ae6286',
    500: '#871657',
    950: '#000000',
  },
}
SCSS
$custom: #871657;
$custom-light: #ae6286;
$custom-dark: #000000;
JSON
{
  "hex": "#871657",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 325.487,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.15736,
    "h": 351.5
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#871657
secondary
#3EBB73
accent
#EF8639
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871657

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

Preview Lab → · Contrast checker → · Palette generator →

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