#871839#871839

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

Color values

HEX#871839
RGBrgb(135, 24, 57)
HSLhsl(342, 70%, 31%)
HSVhsv(342, 82%, 53%)
CMYKcmyk(0%, 82.2%, 57.8%, 47.1%)
CIE-LABlab(29.67, 47.25, 9.76)
CIE-LCHlch(29.67, 48.25, 11.68°)
OKLaboklab(41.24% 0.1434 0.0246)
OKLCHoklch(41.24% 0.146 9.7)
XYZxyz(11.0579, 6.1012, 4.4655)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871839 #188766
analogous
#871870 #871839 #872E18
triadic
#871839 #398718 #183987
tetradic
#871839 #708718 #188766 #2E1887
square
#871839 #708718 #188766 #2E1887
split-complementary
#871839 #18872E #187087
monochromatic
#1F060D #530F23 #871839 #BB214F #DC3D6C

Accessibility & contrast

On white

9.46
#871839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871839
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871839#FFFFFF#000000##FFFFFF
##8718391.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871839;
/* rgb */ color: rgb(135, 24, 57);
/* oklch */ color: oklch(41.2% 0.146 9.7);
Tailwind
colors: {
  custom: {
    50: '#b0626f',
    500: '#871839',
    950: '#000000',
  },
}
SCSS
$custom: #871839;
$custom-light: #b0626f;
$custom-dark: #000000;
JSON
{
  "hex": "#871839",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 342.162,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.14554,
    "h": 9.7
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#871839
secondary
#40BB96
accent
#EDB83B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #871839

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

Preview Lab → · Contrast checker → · Palette generator →

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