#871A46#871A46

#871A46 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.147 H 2.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#871A46
RGBrgb(135, 26, 70)
HSLhsl(336, 68%, 32%)
HSVhsv(336, 81%, 53%)
CMYKcmyk(0%, 80.7%, 48.1%, 47.1%)
CIE-LABlab(30.24, 47.76, 1.91)
CIE-LCHlch(30.24, 47.80, 2.29°)
OKLaboklab(41.78% 0.1466 0.0054)
OKLCHoklch(41.78% 0.147 2.1)
XYZxyz(11.4675, 6.3334, 6.4118)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A46 #1A875B
analogous
#871A7D #871A46 #87251A
triadic
#871A46 #46871A #1A4687
tetradic
#871A46 #7D871A #1A875B #251A87
square
#871A46 #7D871A #1A875B #251A87
split-complementary
#871A46 #1A8725 #1A7D87
monochromatic
#200611 #54102B #871A46 #BA2461 #DA417F

Accessibility & contrast

On white

9.27
#871A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A46
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A46#FFFFFF#000000##FFFFFF
##871A461.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a46;
/* rgb */ color: rgb(135, 26, 70);
/* oklch */ color: oklch(41.8% 0.147 2.1);
Tailwind
colors: {
  custom: {
    50: '#af6379',
    500: '#871a46',
    950: '#000000',
  },
}
SCSS
$custom: #871a46;
$custom-light: #af6379;
$custom-dark: #000000;
JSON
{
  "hex": "#871a46",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 335.78,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41779,
    "c": 0.14667,
    "h": 2.1
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#871A46
secondary
#42BA8A
accent
#EBA53D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871A46

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

Preview Lab → · Contrast checker → · Palette generator →

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