#871E4F#871E4F

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

Color values

HEX#871E4F
RGBrgb(135, 30, 79)
HSLhsl(332, 64%, 32%)
HSVhsv(332, 78%, 53%)
CMYKcmyk(0%, 77.8%, 41.5%, 47.1%)
CIE-LABlab(30.99, 47.39, -2.94)
CIE-LCHlch(30.99, 47.48, 356.45°)
OKLaboklab(42.42% 0.1456 -0.0071)
OKLCHoklch(42.42% 0.146 357.2)
XYZxyz(11.8681, 6.6455, 8.0534)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E4F #1E8756
analogous
#871E83 #871E4F #87221E
triadic
#871E4F #4F871E #1E4F87
tetradic
#871E4F #83871E #1E8756 #221E87
square
#871E4F #83871E #1E8756 #221E87
split-complementary
#871E4F #1E8722 #1E8387
monochromatic
#230814 #551332 #871E4F #B9296C #D7498B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871E4F#FFFFFF#000000##FFFFFF
##871E4F1.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)
#343C50
Deuteranopia (green-blind)
#51504D
Tritanopia (blue-blind)
#920F34
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e4f;
/* rgb */ color: rgb(135, 30, 79);
/* oklch */ color: oklch(42.4% 0.146 357.2);
Tailwind
colors: {
  custom: {
    50: '#af6580',
    500: '#871e4f',
    950: '#000000',
  },
}
SCSS
$custom: #871e4f;
$custom-light: #af6580;
$custom-dark: #000000;
JSON
{
  "hex": "#871e4f",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 332,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42423,
    "c": 0.14576,
    "h": 357.2
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#871E4F
secondary
#48B984
accent
#E79941
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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