#871937#871937

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

Color values

HEX#871937
RGBrgb(135, 25, 55)
HSLhsl(344, 69%, 31%)
HSVhsv(344, 81%, 53%)
CMYKcmyk(0%, 81.5%, 59.3%, 47.1%)
CIE-LABlab(29.72, 46.81, 11.18)
CIE-LCHlch(29.72, 48.12, 13.43°)
OKLaboklab(41.27% 0.1417 0.0279)
OKLCHoklch(41.27% 0.144 11.1)
XYZxyz(11.0300, 6.1236, 4.2149)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871937 #198769
analogous
#87196E #871937 #873219
triadic
#871937 #378719 #193787
tetradic
#871937 #6E8719 #198769 #321987
square
#871937 #6E8719 #198769 #321987
split-complementary
#871937 #198732 #196E87
monochromatic
#20060D #530F22 #871937 #BB234C #DB3F6A

Accessibility & contrast

On white

9.44
#871937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#871937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871937
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871937#FFFFFF#000000##FFFFFF
##8719371.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871937;
/* rgb */ color: rgb(135, 25, 55);
/* oklch */ color: oklch(41.3% 0.144 11.1);
Tailwind
colors: {
  custom: {
    50: '#b0626d',
    500: '#871937',
    950: '#000000',
  },
}
SCSS
$custom: #871937;
$custom-light: #b0626d;
$custom-dark: #000000;
JSON
{
  "hex": "#871937",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 343.636,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41265,
    "c": 0.14438,
    "h": 11.1
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#871937
secondary
#41BA99
accent
#ECBC3C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871937

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

Preview Lab → · Contrast checker → · Palette generator →

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