#871F52#871F52

#871F52 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.146 H 355.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#871F52
RGBrgb(135, 31, 82)
HSLhsl(331, 63%, 33%)
HSVhsv(331, 77%, 53%)
CMYKcmyk(0%, 77%, 39.3%, 47.1%)
CIE-LABlab(31.21, 47.37, -4.58)
CIE-LCHlch(31.21, 47.59, 354.48°)
OKLaboklab(42.62% 0.1455 -0.0115)
OKLCHoklch(42.62% 0.146 355.5)
XYZxyz(12.0055, 6.7416, 8.6500)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F52 #1F8754
analogous
#871F86 #871F52 #87201F
triadic
#871F52 #52871F #1F5287
tetradic
#871F52 #86871F #1F8754 #201F87
square
#871F52 #86871F #1F8754 #201F87
split-complementary
#871F52 #1F8720 #1F8687
monochromatic
#230816 #551434 #871F52 #B92A70 #D64B8F

Accessibility & contrast

On white

8.94
#871F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#871F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F52
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F52#FFFFFF#000000##FFFFFF
##871F521.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#515050
Tritanopia (blue-blind)
#921236
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871f52;
/* rgb */ color: rgb(135, 31, 82);
/* oklch */ color: oklch(42.6% 0.146 355.5);
Tailwind
colors: {
  custom: {
    50: '#ae6582',
    500: '#871f52',
    950: '#000000',
  },
}
SCSS
$custom: #871f52;
$custom-light: #ae6582;
$custom-dark: #000000;
JSON
{
  "hex": "#871f52",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 330.577,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.14592,
    "h": 355.5
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#871F52
secondary
#4AB882
accent
#E69542
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871F52

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

Preview Lab → · Contrast checker → · Palette generator →

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