#871A74#871A74

#871A74 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.171 H 336.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#871A74
RGBrgb(135, 26, 116)
HSLhsl(310, 68%, 32%)
HSVhsv(310, 81%, 53%)
CMYKcmyk(0%, 80.7%, 14.1%, 47.1%)
CIE-LABlab(32.15, 53.42, -25.07)
CIE-LCHlch(32.15, 59.01, 334.86°)
OKLaboklab(43.79% 0.1572 -0.0684)
OKLCHoklch(43.79% 0.171 336.5)
XYZxyz(13.5137, 7.1519, 17.1884)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A74 #1A872D
analogous
#641A87 #871A74 #871A3E
triadic
#871A74 #74871A #1A7487
tetradic
#871A74 #87641A #1A872D #1A3E87
square
#871A74 #87641A #1A872D #1A3E87
split-complementary
#871A74 #3E871A #1A8764
monochromatic
#20061C #541048 #871A74 #BA24A0 #DA41C0

Accessibility & contrast

On white

8.64
#871A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#871A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A74
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A74#FFFFFF#000000##FFFFFF
##871A741.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#445172
Tritanopia (blue-blind)
#8E2246
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871a74;
/* rgb */ color: rgb(135, 26, 116);
/* oklch */ color: oklch(43.8% 0.171 336.5);
Tailwind
colors: {
  custom: {
    50: '#ae659c',
    500: '#871a74',
    950: '#000000',
  },
}
SCSS
$custom: #871a74;
$custom-light: #ae659c;
$custom-dark: #000000;
JSON
{
  "hex": "#871a74",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 310.459,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4379,
    "c": 0.17143,
    "h": 336.5
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#871A74
secondary
#42BA57
accent
#EB5B3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871A74

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

Preview Lab → · Contrast checker → · Palette generator →

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