#871A44#871A44

#871A44 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.146 H 3.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#871A44
RGBrgb(135, 26, 68)
HSLhsl(337, 68%, 32%)
HSVhsv(337, 81%, 53%)
CMYKcmyk(0%, 80.7%, 49.6%, 47.1%)
CIE-LABlab(30.18, 47.58, 3.15)
CIE-LCHlch(30.18, 47.68, 3.79°)
OKLaboklab(41.71% 0.1458 0.0086)
OKLCHoklch(41.71% 0.146 3.4)
XYZxyz(11.4054, 6.3086, 6.0848)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A44 #1A875D
analogous
#871A7B #871A44 #87271A
triadic
#871A44 #44871A #1A4487
tetradic
#871A44 #7B871A #1A875D #271A87
square
#871A44 #7B871A #1A875D #271A87
split-complementary
#871A44 #1A8727 #1A7B87
monochromatic
#200610 #54102A #871A44 #BA245E #DA417C

Accessibility & contrast

On white

9.29
#871A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A44
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A44#FFFFFF#000000##FFFFFF
##871A441.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353945
Deuteranopia (green-blind)
#524F41
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871a44;
/* rgb */ color: rgb(135, 26, 68);
/* oklch */ color: oklch(41.7% 0.146 3.4);
Tailwind
colors: {
  custom: {
    50: '#af6377',
    500: '#871a44',
    950: '#000000',
  },
}
SCSS
$custom: #871a44;
$custom-light: #af6377;
$custom-dark: #000000;
JSON
{
  "hex": "#871a44",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 336.881,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.14608,
    "h": 3.4
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#871A44
secondary
#42BA8C
accent
#EBA83D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871A44

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

Preview Lab → · Contrast checker → · Palette generator →

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