#871B44#871B44

#871B44 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.145 H 3.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#871B44
RGBrgb(135, 27, 68)
HSLhsl(337, 67%, 32%)
HSVhsv(337, 80%, 53%)
CMYKcmyk(0%, 80%, 49.6%, 47.1%)
CIE-LABlab(30.29, 47.27, 3.31)
CIE-LCHlch(30.29, 47.38, 4.01°)
OKLaboklab(41.8% 0.1448 0.009)
OKLCHoklch(41.8% 0.145 3.5)
XYZxyz(11.4280, 6.3537, 6.0923)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B44 #1B875E
analogous
#871B7A #871B44 #87281B
triadic
#871B44 #44871B #1B4487
tetradic
#871B44 #7A871B #1B875E #281B87
square
#871B44 #7A871B #1B875E #281B87
split-complementary
#871B44 #1B8728 #1B7A87
monochromatic
#210711 #54112A #871B44 #BA255E #D9437C

Accessibility & contrast

On white

9.25
#871B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B44
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B44#FFFFFF#000000##FFFFFF
##871B441.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b44;
/* rgb */ color: rgb(135, 27, 68);
/* oklch */ color: oklch(41.8% 0.145 3.5);
Tailwind
colors: {
  custom: {
    50: '#af6377',
    500: '#871b44',
    950: '#000000',
  },
}
SCSS
$custom: #871b44;
$custom-light: #af6377;
$custom-dark: #000000;
JSON
{
  "hex": "#871b44",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 68
  },
  "hsl": {
    "h": 337.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41795,
    "c": 0.14511,
    "h": 3.5
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#871B44
secondary
#44BA8D
accent
#EAA93E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871B44

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

Preview Lab → · Contrast checker → · Palette generator →

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