#871B46#871B46

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

Color values

HEX#871B46
RGBrgb(135, 27, 70)
HSLhsl(336, 67%, 32%)
HSVhsv(336, 80%, 53%)
CMYKcmyk(0%, 80%, 48.1%, 47.1%)
CIE-LABlab(30.35, 47.45, 2.07)
CIE-LCHlch(30.35, 47.50, 2.50°)
OKLaboklab(41.86% 0.1456 0.0058)
OKLCHoklch(41.86% 0.146 2.3)
XYZxyz(11.4901, 6.3785, 6.4193)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B46 #1B875C
analogous
#871B7C #871B46 #87261B
triadic
#871B46 #46871B #1B4687
tetradic
#871B46 #7C871B #1B875C #261B87
square
#871B46 #7C871B #1B875C #261B87
split-complementary
#871B46 #1B8726 #1B7C87
monochromatic
#210711 #54112C #871B46 #BA2560 #D9437F

Accessibility & contrast

On white

9.23
#871B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B46
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B46#FFFFFF#000000##FFFFFF
##871B461.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A47
Deuteranopia (green-blind)
#524F43
Tritanopia (blue-blind)
#93012E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871b46;
/* rgb */ color: rgb(135, 27, 70);
/* oklch */ color: oklch(41.9% 0.146 2.3);
Tailwind
colors: {
  custom: {
    50: '#af6379',
    500: '#871b46',
    950: '#000000',
  },
}
SCSS
$custom: #871b46;
$custom-light: #af6379;
$custom-dark: #000000;
JSON
{
  "hex": "#871b46",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 336.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41859,
    "c": 0.14569,
    "h": 2.3
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#871B46
secondary
#44BA8B
accent
#EAA53E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871B46

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

Preview Lab → · Contrast checker → · Palette generator →

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