#871F64#871F64

#871F64 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.156 H 344.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#871F64
RGBrgb(135, 31, 100)
HSLhsl(320, 63%, 33%)
HSVhsv(320, 77%, 53%)
CMYKcmyk(0%, 77%, 25.9%, 47.1%)
CIE-LABlab(31.93, 49.59, -15.20)
CIE-LCHlch(31.93, 51.87, 342.96°)
OKLaboklab(43.38% 0.1502 -0.0404)
OKLCHoklch(43.38% 0.156 344.9)
XYZxyz(12.7824, 7.0524, 12.7422)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F64 #1F8742
analogous
#761F87 #871F64 #871F30
triadic
#871F64 #64871F #1F6487
tetradic
#871F64 #87761F #1F8742 #1F3087
square
#871F64 #87761F #1F8742 #1F3087
split-complementary
#871F64 #30871F #1F8776
monochromatic
#23081A #55143F #871F64 #B92A89 #D64BA7

Accessibility & contrast

On white

8.71
#871F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#871F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F64
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F64#FFFFFF#000000##FFFFFF
##871F641.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4066
Deuteranopia (green-blind)
#4C5162
Tritanopia (blue-blind)
#901D3F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871f64;
/* rgb */ color: rgb(135, 31, 100);
/* oklch */ color: oklch(43.4% 0.156 344.9);
Tailwind
colors: {
  custom: {
    50: '#ae6690',
    500: '#871f64',
    950: '#000000',
  },
}
SCSS
$custom: #871f64;
$custom-light: #ae6690;
$custom-dark: #000000;
JSON
{
  "hex": "#871f64",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 320.192,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.15553,
    "h": 344.9
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#871F64
secondary
#4AB86F
accent
#E67942
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #871F64

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

Preview Lab → · Contrast checker → · Palette generator →

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