#871837#871837

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

Color values

HEX#871837
RGBrgb(135, 24, 55)
HSLhsl(343, 70%, 31%)
HSVhsv(343, 82%, 53%)
CMYKcmyk(0%, 82.2%, 59.3%, 47.1%)
CIE-LABlab(29.62, 47.10, 11.03)
CIE-LCHlch(29.62, 48.38, 13.18°)
OKLaboklab(41.19% 0.1426 0.0276)
OKLCHoklch(41.19% 0.145 10.9)
XYZxyz(11.0090, 6.0816, 4.2079)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871837 #188768
analogous
#87186E #871837 #873018
triadic
#871837 #378718 #183787
tetradic
#871837 #6E8718 #188768 #301887
square
#871837 #6E8718 #188768 #301887
split-complementary
#871837 #188730 #186E87
monochromatic
#1F060D #530F22 #871837 #BB214C #DC3D69

Accessibility & contrast

On white

9.48
#871837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871837
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871837#FFFFFF#000000##FFFFFF
##8718371.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871837;
/* rgb */ color: rgb(135, 24, 55);
/* oklch */ color: oklch(41.2% 0.145 10.9);
Tailwind
colors: {
  custom: {
    50: '#b0626d',
    500: '#871837',
    950: '#000000',
  },
}
SCSS
$custom: #871837;
$custom-light: #b0626d;
$custom-dark: #000000;
JSON
{
  "hex": "#871837",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 343.243,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.14526,
    "h": 10.9
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#871837
secondary
#40BB98
accent
#EDBB3B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871837

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

Preview Lab → · Contrast checker → · Palette generator →

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