#871A63#871A63

#871A63 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.160 H 345.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#871A63
RGBrgb(135, 26, 99)
HSLhsl(320, 68%, 32%)
HSVhsv(320, 81%, 53%)
CMYKcmyk(0%, 80.7%, 26.7%, 47.1%)
CIE-LABlab(31.33, 51.04, -15.47)
CIE-LCHlch(31.33, 53.33, 343.14°)
OKLaboklab(42.93% 0.1549 -0.0412)
OKLCHoklch(42.93% 0.16 345.1)
XYZxyz(12.6138, 6.7919, 12.4487)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A63 #1A873E
analogous
#751A87 #871A63 #871A2C
triadic
#871A63 #63871A #1A6387
tetradic
#871A63 #87751A #1A873E #1A2C87
square
#871A63 #87751A #1A873E #1A2C87
split-complementary
#871A63 #2C871A #1A8775
monochromatic
#200618 #54103D #871A63 #BA2489 #DA41A8

Accessibility & contrast

On white

8.91
#871A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#871A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A63
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A63#FFFFFF#000000##FFFFFF
##871A631.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E65
Deuteranopia (green-blind)
#4B5061
Tritanopia (blue-blind)
#91183D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871a63;
/* rgb */ color: rgb(135, 26, 99);
/* oklch */ color: oklch(42.9% 0.160 345.1);
Tailwind
colors: {
  custom: {
    50: '#ae648f',
    500: '#871a63',
    950: '#000000',
  },
}
SCSS
$custom: #871a63;
$custom-light: #ae648f;
$custom-dark: #000000;
JSON
{
  "hex": "#871a63",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 319.817,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.16024,
    "h": 345.1
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#871A63
secondary
#42BA6A
accent
#EB763D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871A63

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

Preview Lab → · Contrast checker → · Palette generator →

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