#871E47#871E47

#871E47 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.143 H 2.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#871E47
RGBrgb(135, 30, 71)
HSLhsl(337, 64%, 32%)
HSVhsv(337, 78%, 53%)
CMYKcmyk(0%, 77.8%, 47.4%, 47.1%)
CIE-LABlab(30.73, 46.57, 1.95)
CIE-LCHlch(30.73, 46.61, 2.40°)
OKLaboklab(42.15% 0.1428 0.0055)
OKLCHoklch(42.15% 0.143 2.2)
XYZxyz(11.5942, 6.5359, 6.6110)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E47 #1E875E
analogous
#871E7C #871E47 #87291E
triadic
#871E47 #47871E #1E4787
tetradic
#871E47 #7C871E #1E875E #291E87
square
#871E47 #7C871E #1E875E #291E87
split-complementary
#871E47 #1E8729 #1E7C87
monochromatic
#230812 #55132D #871E47 #B92961 #D74980

Accessibility & contrast

On white

9.10
#871E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#871E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E47
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E47#FFFFFF#000000##FFFFFF
##871E471.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B48
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#930830
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871e47;
/* rgb */ color: rgb(135, 30, 71);
/* oklch */ color: oklch(42.1% 0.143 2.2);
Tailwind
colors: {
  custom: {
    50: '#af647a',
    500: '#871e47',
    950: '#000000',
  },
}
SCSS
$custom: #871e47;
$custom-light: #af647a;
$custom-dark: #000000;
JSON
{
  "hex": "#871e47",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 336.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42147,
    "c": 0.1429,
    "h": 2.2
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#871E47
secondary
#48B98D
accent
#E7A641
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871E47

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

Preview Lab → · Contrast checker → · Palette generator →

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