#871F4A#871F4A

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

Color values

HEX#871F4A
RGBrgb(135, 31, 74)
HSLhsl(335, 63%, 33%)
HSVhsv(335, 77%, 53%)
CMYKcmyk(0%, 77%, 45.2%, 47.1%)
CIE-LABlab(30.94, 46.52, 0.29)
CIE-LCHlch(30.94, 46.52, 0.35°)
OKLaboklab(42.34% 0.1428 0.0013)
OKLCHoklch(42.34% 0.143 0.5)
XYZxyz(11.7186, 6.6268, 7.1393)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F4A #1F875C
analogous
#871F7E #871F4A #87281F
triadic
#871F4A #4A871F #1F4A87
tetradic
#871F4A #7E871F #1F875C #281F87
square
#871F4A #7E871F #1F875C #281F87
split-complementary
#871F4A #1F8728 #1F7E87
monochromatic
#230813 #55142F #871F4A #B92A65 #D64B84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871F4A#FFFFFF#000000##FFFFFF
##871F4A1.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)
#363C4B
Deuteranopia (green-blind)
#525048
Tritanopia (blue-blind)
#930D32
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871f4a;
/* rgb */ color: rgb(135, 31, 74);
/* oklch */ color: oklch(42.3% 0.143 0.5);
Tailwind
colors: {
  custom: {
    50: '#af657c',
    500: '#871f4a',
    950: '#000000',
  },
}
SCSS
$custom: #871f4a;
$custom-light: #af657c;
$custom-dark: #000000;
JSON
{
  "hex": "#871f4a",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 335.192,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42336,
    "c": 0.14279,
    "h": 0.5
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#871F4A
secondary
#4AB88A
accent
#E6A242
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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