#871742#871742

#871742 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.148 H 4.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#871742
RGBrgb(135, 23, 66)
HSLhsl(337, 71%, 31%)
HSVhsv(337, 83%, 53%)
CMYKcmyk(0%, 83%, 51.1%, 47.1%)
CIE-LABlab(29.81, 48.28, 3.96)
CIE-LCHlch(29.81, 48.44, 4.68°)
OKLaboklab(41.42% 0.1479 0.0106)
OKLCHoklch(41.42% 0.148 4.1)
XYZxyz(11.2824, 6.1586, 5.7478)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871742 #17875C
analogous
#87177A #871742 #872417
triadic
#871742 #428717 #174287
tetradic
#871742 #7A8717 #17875C #241787
square
#871742 #7A8717 #17875C #241787
split-complementary
#871742 #178724 #177A87
monochromatic
#1E050F #530E28 #871742 #BB205C #DE3B79

Accessibility & contrast

On white

9.41
#871742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#871742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871742
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871742#FFFFFF#000000##FFFFFF
##8717421.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343843
Deuteranopia (green-blind)
#524E3F
Tritanopia (blue-blind)
#93002A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871742;
/* rgb */ color: rgb(135, 23, 66);
/* oklch */ color: oklch(41.4% 0.148 4.1);
Tailwind
colors: {
  custom: {
    50: '#b06276',
    500: '#871742',
    950: '#000000',
  },
}
SCSS
$custom: #871742;
$custom-light: #b06276;
$custom-dark: #000000;
JSON
{
  "hex": "#871742",
  "rgb": {
    "r": 135,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 336.964,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41424,
    "c": 0.1483,
    "h": 4.1
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#871742
secondary
#3FBB8B
accent
#EEA93A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871742

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

Preview Lab → · Contrast checker → · Palette generator →

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