#871D51#871D51

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

Color values

HEX#871D51
RGBrgb(135, 29, 81)
HSLhsl(331, 65%, 32%)
HSVhsv(331, 79%, 53%)
CMYKcmyk(0%, 78.5%, 40%, 47.1%)
CIE-LABlab(30.94, 47.94, -4.33)
CIE-LCHlch(30.94, 48.13, 354.84°)
OKLaboklab(42.41% 0.1473 -0.0108)
OKLCHoklch(42.41% 0.148 355.8)
XYZxyz(11.9171, 6.6252, 8.4342)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D51 #1D8753
analogous
#871D86 #871D51 #871E1D
triadic
#871D51 #51871D #1D5187
tetradic
#871D51 #86871D #1D8753 #1E1D87
square
#871D51 #86871D #1D8753 #1E1D87
split-complementary
#871D51 #1D871E #1D8687
monochromatic
#220715 #551233 #871D51 #B9286F #D7478E

Accessibility & contrast

On white

9.03
#871D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#871D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D51
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D51#FFFFFF#000000##FFFFFF
##871D511.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C52
Deuteranopia (green-blind)
#50504F
Tritanopia (blue-blind)
#920F34
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871d51;
/* rgb */ color: rgb(135, 29, 81);
/* oklch */ color: oklch(42.4% 0.148 355.8);
Tailwind
colors: {
  custom: {
    50: '#ae6481',
    500: '#871d51',
    950: '#000000',
  },
}
SCSS
$custom: #871d51;
$custom-light: #ae6481;
$custom-dark: #000000;
JSON
{
  "hex": "#871d51",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 81
  },
  "hsl": {
    "h": 330.566,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4241,
    "c": 0.14768,
    "h": 355.8
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#871D51
secondary
#46B981
accent
#E89540
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871D51

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

Preview Lab → · Contrast checker → · Palette generator →

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