#871A65#871A65

#871A65 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.161 H 344.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#871A65
RGBrgb(135, 26, 101)
HSLhsl(319, 68%, 32%)
HSVhsv(319, 81%, 53%)
CMYKcmyk(0%, 80.7%, 25.2%, 47.1%)
CIE-LABlab(31.42, 51.30, -16.62)
CIE-LCHlch(31.42, 53.93, 342.05°)
OKLaboklab(43.02% 0.1552 -0.0444)
OKLCHoklch(43.02% 0.161 344)
XYZxyz(12.7106, 6.8307, 12.9585)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A65 #1A873C
analogous
#731A87 #871A65 #871A2E
triadic
#871A65 #65871A #1A6587
tetradic
#871A65 #87731A #1A873C #1A2E87
square
#871A65 #87731A #1A873C #1A2E87
split-complementary
#871A65 #2E871A #1A8773
monochromatic
#200618 #54103F #871A65 #BA248B #DA41AB

Accessibility & contrast

On white

8.88
#871A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#871A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A65
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A65#FFFFFF#000000##FFFFFF
##871A651.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283E67
Deuteranopia (green-blind)
#4A5063
Tritanopia (blue-blind)
#90193E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871a65;
/* rgb */ color: rgb(135, 26, 101);
/* oklch */ color: oklch(43.0% 0.161 344.0);
Tailwind
colors: {
  custom: {
    50: '#ae6491',
    500: '#871a65',
    950: '#000000',
  },
}
SCSS
$custom: #871a65;
$custom-light: #ae6491;
$custom-dark: #000000;
JSON
{
  "hex": "#871a65",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 318.716,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43024,
    "c": 0.16146,
    "h": 344
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#871A65
secondary
#42BA68
accent
#EB733D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871A65

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

Preview Lab → · Contrast checker → · Palette generator →

#871A65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva