#871E4D#871E4D

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

Color values

HEX#871E4D
RGBrgb(135, 30, 77)
HSLhsl(333, 64%, 32%)
HSVhsv(333, 78%, 53%)
CMYKcmyk(0%, 77.8%, 43%, 47.1%)
CIE-LABlab(30.92, 47.17, -1.73)
CIE-LCHlch(30.92, 47.20, 357.90°)
OKLaboklab(42.35% 0.1449 -0.004)
OKLCHoklch(42.35% 0.145 358.4)
XYZxyz(11.7964, 6.6168, 7.6757)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E4D #1E8758
analogous
#871E81 #871E4D #87241E
triadic
#871E4D #4D871E #1E4D87
tetradic
#871E4D #81871E #1E8758 #241E87
square
#871E4D #81871E #1E8758 #241E87
split-complementary
#871E4D #1E8724 #1E8187
monochromatic
#230814 #551330 #871E4D #B9296A #D74988

Accessibility & contrast

On white

9.04
#871E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#871E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E4D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E4D#FFFFFF#000000##FFFFFF
##871E4D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4E
Deuteranopia (green-blind)
#51504B
Tritanopia (blue-blind)
#930D33
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e4d;
/* rgb */ color: rgb(135, 30, 77);
/* oklch */ color: oklch(42.4% 0.145 358.4);
Tailwind
colors: {
  custom: {
    50: '#af657e',
    500: '#871e4d',
    950: '#000000',
  },
}
SCSS
$custom: #871e4d;
$custom-light: #af657e;
$custom-dark: #000000;
JSON
{
  "hex": "#871e4d",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 333.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.14497,
    "h": 358.4
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#871E4D
secondary
#48B986
accent
#E79D41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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