#871D52#871D52

#871D52 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.148 H 355.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#871D52
RGBrgb(135, 29, 82)
HSLhsl(330, 65%, 32%)
HSVhsv(330, 79%, 53%)
CMYKcmyk(0%, 78.5%, 39.3%, 47.1%)
CIE-LABlab(30.97, 48.05, -4.93)
CIE-LCHlch(30.97, 48.30, 354.14°)
OKLaboklab(42.45% 0.1476 -0.0124)
OKLCHoklch(42.45% 0.148 355.2)
XYZxyz(11.9548, 6.6403, 8.6332)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D52 #1D8752
analogous
#871D87 #871D52 #871D1D
triadic
#871D52 #52871D #1D5287
tetradic
#871D52 #87871D #1D8752 #1D1D87
square
#871D52 #87871D #1D8752 #1D1D87
split-complementary
#871D52 #1D871D #1D8787
monochromatic
#220715 #551233 #871D52 #B92871 #D7478F

Accessibility & contrast

On white

9.02
#871D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#871D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D52
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D52#FFFFFF#000000##FFFFFF
##871D521.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C53
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#920F35
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871d52;
/* rgb */ color: rgb(135, 29, 82);
/* oklch */ color: oklch(42.4% 0.148 355.2);
Tailwind
colors: {
  custom: {
    50: '#ae6482',
    500: '#871d52',
    950: '#000000',
  },
}
SCSS
$custom: #871d52;
$custom-light: #ae6482;
$custom-dark: #000000;
JSON
{
  "hex": "#871d52",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 330,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42448,
    "c": 0.14812,
    "h": 355.2
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#871D52
secondary
#46B980
accent
#E89440
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871D52

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

Preview Lab → · Contrast checker → · Palette generator →

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