#871939#871939

#871939 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.145 H 9.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#871939
RGBrgb(135, 25, 57)
HSLhsl(343, 69%, 31%)
HSVhsv(343, 81%, 53%)
CMYKcmyk(0%, 81.5%, 57.8%, 47.1%)
CIE-LABlab(29.77, 46.95, 9.91)
CIE-LCHlch(29.77, 47.99, 11.92°)
OKLaboklab(41.32% 0.1425 0.025)
OKLCHoklch(41.32% 0.145 9.9)
XYZxyz(11.0789, 6.1432, 4.4725)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871939 #198767
analogous
#871970 #871939 #873019
triadic
#871939 #398719 #193987
tetradic
#871939 #708719 #198767 #301987
square
#871939 #708719 #198767 #301987
split-complementary
#871939 #198730 #197087
monochromatic
#20060D #530F23 #871939 #BB234F #DB3F6C

Accessibility & contrast

On white

9.42
#871939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871939
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871939#FFFFFF#000000##FFFFFF
##8719391.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383A
Deuteranopia (green-blind)
#544E36
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871939;
/* rgb */ color: rgb(135, 25, 57);
/* oklch */ color: oklch(41.3% 0.145 9.9);
Tailwind
colors: {
  custom: {
    50: '#b0626f',
    500: '#871939',
    950: '#000000',
  },
}
SCSS
$custom: #871939;
$custom-light: #b0626f;
$custom-dark: #000000;
JSON
{
  "hex": "#871939",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 342.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41317,
    "c": 0.14465,
    "h": 9.9
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#871939
secondary
#41BA97
accent
#ECB93C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871939

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

Preview Lab → · Contrast checker → · Palette generator →

#871939 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva