#871874#871874

#871874 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.7% C 0.173 H 336.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#871874
RGBrgb(135, 24, 116)
HSLhsl(310, 70%, 31%)
HSVhsv(310, 82%, 53%)
CMYKcmyk(0%, 82.2%, 14.1%, 47.1%)
CIE-LABlab(31.96, 53.98, -25.38)
CIE-LCHlch(31.96, 59.64, 334.82°)
OKLaboklab(43.65% 0.1589 -0.0692)
OKLCHoklch(43.65% 0.173 336.5)
XYZxyz(13.4709, 7.0664, 17.1741)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871874 #18872B
analogous
#621887 #871874 #87183C
triadic
#871874 #748718 #187487
tetradic
#871874 #876218 #18872B #183C87
square
#871874 #876218 #18872B #183C87
split-complementary
#871874 #3C8718 #188762
monochromatic
#1F061B #530F47 #871874 #BB21A1 #DC3DC1

Accessibility & contrast

On white

8.70
#871874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871874
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871874#FFFFFF#000000##FFFFFF
##8718741.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#445172
Tritanopia (blue-blind)
#8E2146
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871874;
/* rgb */ color: rgb(135, 24, 116);
/* oklch */ color: oklch(43.7% 0.173 336.5);
Tailwind
colors: {
  custom: {
    50: '#ae649c',
    500: '#871874',
    950: '#000000',
  },
}
SCSS
$custom: #871874;
$custom-light: #ae649c;
$custom-dark: #000000;
JSON
{
  "hex": "#871874",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 310.27,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.17329,
    "h": 336.5
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#871874
secondary
#40BB55
accent
#ED5A3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871874

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

Preview Lab → · Contrast checker → · Palette generator →

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