#871A41#871A41

#871A41 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.145 H 5.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#871A41
RGBrgb(135, 26, 65)
HSLhsl(339, 68%, 32%)
HSVhsv(339, 81%, 53%)
CMYKcmyk(0%, 80.7%, 51.9%, 47.1%)
CIE-LABlab(30.09, 47.31, 5.02)
CIE-LCHlch(30.09, 47.57, 6.06°)
OKLaboklab(41.62% 0.1447 0.0132)
OKLCHoklch(41.62% 0.145 5.2)
XYZxyz(11.3162, 6.2729, 5.6149)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A41 #1A8760
analogous
#871A78 #871A41 #872A1A
triadic
#871A41 #41871A #1A4187
tetradic
#871A41 #78871A #1A8760 #2A1A87
square
#871A41 #78871A #1A8760 #2A1A87
split-complementary
#871A41 #1A872A #1A7887
monochromatic
#200610 #541028 #871A41 #BA245A #DA4178

Accessibility & contrast

On white

9.32
#871A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A41
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A41#FFFFFF#000000##FFFFFF
##871A411.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363942
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#93002B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871a41;
/* rgb */ color: rgb(135, 26, 65);
/* oklch */ color: oklch(41.6% 0.145 5.2);
Tailwind
colors: {
  custom: {
    50: '#af6375',
    500: '#871a41',
    950: '#000000',
  },
}
SCSS
$custom: #871a41;
$custom-light: #af6375;
$custom-dark: #000000;
JSON
{
  "hex": "#871a41",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 338.532,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.14529,
    "h": 5.2
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#871A41
secondary
#42BA8F
accent
#EBAD3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871A41

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

Preview Lab → · Contrast checker → · Palette generator →

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