#871873#871873

#871873 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.6% C 0.173 H 336.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#871873
RGBrgb(135, 24, 115)
HSLhsl(311, 70%, 31%)
HSVhsv(311, 82%, 53%)
CMYKcmyk(0%, 82.2%, 14.8%, 47.1%)
CIE-LABlab(31.91, 53.83, -24.82)
CIE-LCHlch(31.91, 59.28, 335.24°)
OKLaboklab(43.6% 0.1588 -0.0676)
OKLCHoklch(43.6% 0.173 336.9)
XYZxyz(13.4131, 7.0433, 16.8694)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871873 #18872C
analogous
#631887 #871873 #87183B
triadic
#871873 #738718 #187387
tetradic
#871873 #876318 #18872C #183B87
square
#871873 #876318 #18872C #183B87
split-complementary
#871873 #3B8718 #188763
monochromatic
#1F061A #530F47 #871873 #BB219F #DC3DC0

Accessibility & contrast

On white

8.72
#871873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#871873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871873
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871873#FFFFFF#000000##FFFFFF
##8718731.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4075
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#8F2045
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871873;
/* rgb */ color: rgb(135, 24, 115);
/* oklch */ color: oklch(43.6% 0.173 336.9);
Tailwind
colors: {
  custom: {
    50: '#ae649b',
    500: '#871873',
    950: '#000000',
  },
}
SCSS
$custom: #871873;
$custom-light: #ae649b;
$custom-dark: #000000;
JSON
{
  "hex": "#871873",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 115
  },
  "hsl": {
    "h": 310.811,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43597,
    "c": 0.17259,
    "h": 336.9
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#871873
secondary
#40BB56
accent
#ED5B3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871873

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

Preview Lab → · Contrast checker → · Palette generator →

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