#871B48#871B48

#871B48 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.146 H 1.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#871B48
RGBrgb(135, 27, 72)
HSLhsl(335, 67%, 32%)
HSVhsv(335, 80%, 53%)
CMYKcmyk(0%, 80%, 46.7%, 47.1%)
CIE-LABlab(30.41, 47.64, 0.83)
CIE-LCHlch(30.41, 47.65, 1.00°)
OKLaboklab(41.93% 0.1463 0.0027)
OKLCHoklch(41.93% 0.146 1)
XYZxyz(11.5542, 6.4042, 6.7573)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B48 #1B875A
analogous
#871B7E #871B48 #87241B
triadic
#871B48 #48871B #1B4887
tetradic
#871B48 #7E871B #1B875A #241B87
square
#871B48 #7E871B #1B875A #241B87
split-complementary
#871B48 #1B8724 #1B7E87
monochromatic
#210712 #54112D #871B48 #BA2563 #D94382

Accessibility & contrast

On white

9.21
#871B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B48
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B48#FFFFFF#000000##FFFFFF
##871B481.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A49
Deuteranopia (green-blind)
#524F46
Tritanopia (blue-blind)
#93032F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871b48;
/* rgb */ color: rgb(135, 27, 72);
/* oklch */ color: oklch(41.9% 0.146 1.0);
Tailwind
colors: {
  custom: {
    50: '#af637a',
    500: '#871b48',
    950: '#000000',
  },
}
SCSS
$custom: #871b48;
$custom-light: #af637a;
$custom-dark: #000000;
JSON
{
  "hex": "#871b48",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 335,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41925,
    "c": 0.14632,
    "h": 1
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#871B48
secondary
#44BA89
accent
#EAA23E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871B48

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

Preview Lab → · Contrast checker → · Palette generator →

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