#871951#871951

#871951 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.152 H 355.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#871951
RGBrgb(135, 25, 81)
HSLhsl(329, 69%, 31%)
HSVhsv(329, 81%, 53%)
CMYKcmyk(0%, 81.5%, 40%, 47.1%)
CIE-LABlab(30.50, 49.18, -4.98)
CIE-LCHlch(30.50, 49.43, 354.22°)
OKLaboklab(42.09% 0.1513 -0.0125)
OKLCHoklch(42.09% 0.152 355.3)
XYZxyz(11.8253, 6.4418, 8.4037)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871951 #19874F
analogous
#861987 #871951 #87191A
triadic
#871951 #518719 #195187
tetradic
#871951 #878619 #19874F #191A87
square
#871951 #878619 #19874F #191A87
split-complementary
#871951 #1A8719 #198786
monochromatic
#200613 #530F32 #871951 #BB2370 #DB3F8F

Accessibility & contrast

On white

9.18
#871951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871951
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871951#FFFFFF#000000##FFFFFF
##8719511.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B52
Deuteranopia (green-blind)
#4F4F4F
Tritanopia (blue-blind)
#920733
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871951;
/* rgb */ color: rgb(135, 25, 81);
/* oklch */ color: oklch(42.1% 0.152 355.3);
Tailwind
colors: {
  custom: {
    50: '#af6381',
    500: '#871951',
    950: '#000000',
  },
}
SCSS
$custom: #871951;
$custom-light: #af6381;
$custom-dark: #000000;
JSON
{
  "hex": "#871951",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 329.455,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42091,
    "c": 0.15177,
    "h": 355.3
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#871951
secondary
#41BA7D
accent
#EC923C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871951

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

Preview Lab → · Contrast checker → · Palette generator →

#871951 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva