#871A36#871A36

#871A36 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.143 H 12.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#871A36
RGBrgb(135, 26, 54)
HSLhsl(345, 68%, 32%)
HSVhsv(345, 81%, 53%)
CMYKcmyk(0%, 80.7%, 60%, 47.1%)
CIE-LABlab(29.81, 46.43, 11.96)
CIE-LCHlch(29.81, 47.94, 14.44°)
OKLaboklab(41.32% 0.1403 0.0297)
OKLCHoklch(41.32% 0.143 12)
XYZxyz(11.0280, 6.1577, 4.0972)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A36 #1A876B
analogous
#871A6D #871A36 #87351A
triadic
#871A36 #36871A #1A3687
tetradic
#871A36 #6D871A #1A876B #351A87
square
#871A36 #6D871A #1A876B #351A87
split-complementary
#871A36 #1A8735 #1A6D87
monochromatic
#20060D #541021 #871A36 #BA244B #DA4168

Accessibility & contrast

On white

9.41
#871A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871A36
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A36#FFFFFF#000000##FFFFFF
##871A361.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383836
Deuteranopia (green-blind)
#544E33
Tritanopia (blue-blind)
#940026
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871a36;
/* rgb */ color: rgb(135, 26, 54);
/* oklch */ color: oklch(41.3% 0.143 12.0);
Tailwind
colors: {
  custom: {
    50: '#b0626c',
    500: '#871a36',
    950: '#000000',
  },
}
SCSS
$custom: #871a36;
$custom-light: #b0626c;
$custom-dark: #000000;
JSON
{
  "hex": "#871a36",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 54
  },
  "hsl": {
    "h": 344.587,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.14337,
    "h": 12
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#871A36
secondary
#42BA9C
accent
#EBBE3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871A36

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

Preview Lab → · Contrast checker → · Palette generator →

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