#871E4E#871E4E

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

Color values

HEX#871E4E
RGBrgb(135, 30, 78)
HSLhsl(333, 64%, 32%)
HSVhsv(333, 78%, 53%)
CMYKcmyk(0%, 77.8%, 42.2%, 47.1%)
CIE-LABlab(30.95, 47.28, -2.34)
CIE-LCHlch(30.95, 47.34, 357.17°)
OKLaboklab(42.39% 0.1453 -0.0055)
OKLCHoklch(42.39% 0.145 357.8)
XYZxyz(11.8320, 6.6310, 7.8631)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E4E #1E8757
analogous
#871E83 #871E4E #87221E
triadic
#871E4E #4E871E #1E4E87
tetradic
#871E4E #83871E #1E8757 #221E87
square
#871E4E #83871E #1E8757 #221E87
split-complementary
#871E4E #1E8722 #1E8387
monochromatic
#230814 #551331 #871E4E #B9296B #D7498A

Accessibility & contrast

On white

9.03
#871E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E4E
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E4E#FFFFFF#000000##FFFFFF
##871E4E1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#920E33
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871e4e;
/* rgb */ color: rgb(135, 30, 78);
/* oklch */ color: oklch(42.4% 0.145 357.8);
Tailwind
colors: {
  custom: {
    50: '#af657f',
    500: '#871e4e',
    950: '#000000',
  },
}
SCSS
$custom: #871e4e;
$custom-light: #af657f;
$custom-dark: #000000;
JSON
{
  "hex": "#871e4e",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 332.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42386,
    "c": 0.14536,
    "h": 357.8
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#871E4E
secondary
#48B985
accent
#E79B41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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