#871658#871658

#871658 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.2% C 0.158 H 350.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#871658
RGBrgb(135, 22, 88)
HSLhsl(325, 72%, 31%)
HSVhsv(325, 84%, 53%)
CMYKcmyk(0%, 83.7%, 34.8%, 47.1%)
CIE-LABlab(30.47, 50.80, -9.62)
CIE-LCHlch(30.47, 51.70, 349.28°)
OKLaboklab(42.16% 0.1559 -0.025)
OKLCHoklch(42.16% 0.158 350.9)
XYZxyz(12.0408, 6.4308, 9.8378)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871658 #168745
analogous
#7D1687 #871658 #87161F
triadic
#871658 #588716 #165887
tetradic
#871658 #877D16 #168745 #161F87
square
#871658 #877D16 #168745 #161F87
split-complementary
#871658 #1F8716 #16877D
monochromatic
#1E0513 #520D36 #871658 #BC1F7A #DF399A

Accessibility & contrast

On white

9.19
#871658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871658
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871658#FFFFFF#000000##FFFFFF
##8716581.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5A
Deuteranopia (green-blind)
#4D4F56
Tritanopia (blue-blind)
#920936
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871658;
/* rgb */ color: rgb(135, 22, 88);
/* oklch */ color: oklch(42.2% 0.158 350.9);
Tailwind
colors: {
  custom: {
    50: '#ae6287',
    500: '#871658',
    950: '#000000',
  },
}
SCSS
$custom: #871658;
$custom-light: #ae6287;
$custom-dark: #000000;
JSON
{
  "hex": "#871658",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 324.956,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42158,
    "c": 0.15787,
    "h": 350.9
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#871658
secondary
#3EBB72
accent
#EF8539
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #871658

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

Preview Lab → · Contrast checker → · Palette generator →

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