#871F53#871F53

#871F53 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.146 H 354.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#871F53
RGBrgb(135, 31, 83)
HSLhsl(330, 63%, 33%)
HSVhsv(330, 77%, 53%)
CMYKcmyk(0%, 77%, 38.5%, 47.1%)
CIE-LABlab(31.25, 47.49, -5.18)
CIE-LCHlch(31.25, 47.77, 353.77°)
OKLaboklab(42.66% 0.1458 -0.0131)
OKLCHoklch(42.66% 0.146 354.9)
XYZxyz(12.0438, 6.7569, 8.8519)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F53 #1F8753
analogous
#871F87 #871F53 #871F1F
triadic
#871F53 #53871F #1F5387
tetradic
#871F53 #87871F #1F8753 #1F1F87
square
#871F53 #87871F #1F8753 #1F1F87
split-complementary
#871F53 #1F871F #1F8787
monochromatic
#230816 #551434 #871F53 #B92A72 #D64B90

Accessibility & contrast

On white

8.93
#871F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F53
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F53#FFFFFF#000000##FFFFFF
##871F531.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D54
Deuteranopia (green-blind)
#505051
Tritanopia (blue-blind)
#921336
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871f53;
/* rgb */ color: rgb(135, 31, 83);
/* oklch */ color: oklch(42.7% 0.146 354.9);
Tailwind
colors: {
  custom: {
    50: '#ae6583',
    500: '#871f53',
    950: '#000000',
  },
}
SCSS
$custom: #871f53;
$custom-light: #ae6583;
$custom-dark: #000000;
JSON
{
  "hex": "#871f53",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 330,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.14636,
    "h": 354.9
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#871F53
secondary
#4AB881
accent
#E69442
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871F53

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

Preview Lab → · Contrast checker → · Palette generator →

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