#871A37#871A37

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

Color values

HEX#871A37
RGBrgb(135, 26, 55)
HSLhsl(344, 68%, 32%)
HSVhsv(344, 81%, 53%)
CMYKcmyk(0%, 80.7%, 59.3%, 47.1%)
CIE-LABlab(29.83, 46.50, 11.32)
CIE-LCHlch(29.83, 47.86, 13.69°)
OKLaboklab(41.35% 0.1407 0.0283)
OKLCHoklch(41.35% 0.143 11.4)
XYZxyz(11.0518, 6.1671, 4.2221)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A37 #1A876A
analogous
#871A6E #871A37 #87341A
triadic
#871A37 #37871A #1A3787
tetradic
#871A37 #6E871A #1A876A #341A87
square
#871A37 #6E871A #1A876A #341A87
split-complementary
#871A37 #1A8734 #1A6E87
monochromatic
#20060D #541022 #871A37 #BA244C #DA416A

Accessibility & contrast

On white

9.40
#871A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A37
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A37#FFFFFF#000000##FFFFFF
##871A371.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871a37;
/* rgb */ color: rgb(135, 26, 55);
/* oklch */ color: oklch(41.3% 0.143 11.4);
Tailwind
colors: {
  custom: {
    50: '#b0626d',
    500: '#871a37',
    950: '#000000',
  },
}
SCSS
$custom: #871a37;
$custom-light: #b0626d;
$custom-dark: #000000;
JSON
{
  "hex": "#871a37",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 55
  },
  "hsl": {
    "h": 344.037,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41345,
    "c": 0.14349,
    "h": 11.4
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#871A37
secondary
#42BA9A
accent
#EBBC3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871A37

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

Preview Lab → · Contrast checker → · Palette generator →

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