#871D44#871D44

#871D44 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.143 H 3.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#871D44
RGBrgb(135, 29, 68)
HSLhsl(338, 65%, 32%)
HSVhsv(338, 79%, 53%)
CMYKcmyk(0%, 78.5%, 49.6%, 47.1%)
CIE-LABlab(30.52, 46.62, 3.64)
CIE-LCHlch(30.52, 46.76, 4.46°)
OKLaboklab(41.96% 0.1427 0.0098)
OKLCHoklch(41.96% 0.143 3.9)
XYZxyz(11.4754, 6.4485, 6.1081)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871D44 #1D8760
analogous
#871D79 #871D44 #872B1D
triadic
#871D44 #44871D #1D4487
tetradic
#871D44 #79871D #1D8760 #2B1D87
square
#871D44 #79871D #1D8760 #2B1D87
split-complementary
#871D44 #1D872B #1D7987
monochromatic
#220711 #55122B #871D44 #B9285D #D7477C

Accessibility & contrast

On white

9.17
#871D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871D44
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871D44#FFFFFF#000000##FFFFFF
##871D441.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B45
Deuteranopia (green-blind)
#534F42
Tritanopia (blue-blind)
#93032E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871d44;
/* rgb */ color: rgb(135, 29, 68);
/* oklch */ color: oklch(42.0% 0.143 3.9);
Tailwind
colors: {
  custom: {
    50: '#af6477',
    500: '#871d44',
    950: '#000000',
  },
}
SCSS
$custom: #871d44;
$custom-light: #af6477;
$custom-dark: #000000;
JSON
{
  "hex": "#871d44",
  "rgb": {
    "r": 135,
    "g": 29,
    "b": 68
  },
  "hsl": {
    "h": 337.925,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41964,
    "c": 0.14308,
    "h": 3.9
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#871D44
secondary
#46B98F
accent
#E8AA40
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871D44

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

Preview Lab → · Contrast checker → · Palette generator →

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