#871940#871940

#871940 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.146 H 5.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#871940
RGBrgb(135, 25, 64)
HSLhsl(339, 69%, 31%)
HSVhsv(339, 81%, 53%)
CMYKcmyk(0%, 81.5%, 52.6%, 47.1%)
CIE-LABlab(29.96, 47.52, 5.50)
CIE-LCHlch(29.96, 47.84, 6.60°)
OKLaboklab(41.51% 0.1453 0.0144)
OKLCHoklch(41.51% 0.146 5.7)
XYZxyz(11.2657, 6.2179, 5.4565)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871940 #198760
analogous
#871977 #871940 #872919
triadic
#871940 #408719 #194087
tetradic
#871940 #778719 #198760 #291987
square
#871940 #778719 #198760 #291987
split-complementary
#871940 #198729 #197787
monochromatic
#20060F #530F28 #871940 #BB2358 #DB3F76

Accessibility & contrast

On white

9.36
#871940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871940
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871940#FFFFFF#000000##FFFFFF
##8719401.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#534E3D
Tritanopia (blue-blind)
#94002A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871940;
/* rgb */ color: rgb(135, 25, 64);
/* oklch */ color: oklch(41.5% 0.146 5.7);
Tailwind
colors: {
  custom: {
    50: '#b06274',
    500: '#871940',
    950: '#000000',
  },
}
SCSS
$custom: #871940;
$custom-light: #b06274;
$custom-dark: #000000;
JSON
{
  "hex": "#871940",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 338.727,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.14599,
    "h": 5.7
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#871940
secondary
#41BA90
accent
#ECAD3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871940

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

Preview Lab → · Contrast checker → · Palette generator →

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