#871E43#871E43

#871E43 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.142 H 4.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#871E43
RGBrgb(135, 30, 67)
HSLhsl(339, 64%, 32%)
HSVhsv(339, 78%, 53%)
CMYKcmyk(0%, 77.8%, 50.4%, 47.1%)
CIE-LABlab(30.61, 46.19, 4.43)
CIE-LCHlch(30.61, 46.40, 5.48°)
OKLaboklab(42.02% 0.1413 0.0118)
OKLCHoklch(42.02% 0.142 4.8)
XYZxyz(11.4701, 6.4863, 5.9571)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E43 #1E8762
analogous
#871E78 #871E43 #872E1E
triadic
#871E43 #43871E #1E4387
tetradic
#871E43 #78871E #1E8762 #2E1E87
square
#871E43 #78871E #1E8762 #2E1E87
split-complementary
#871E43 #1E872E #1E7887
monochromatic
#230811 #55132A #871E43 #B9295C #D7497B

Accessibility & contrast

On white

9.14
#871E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#871E43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E43
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E43#FFFFFF#000000##FFFFFF
##871E431.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B44
Deuteranopia (green-blind)
#535041
Tritanopia (blue-blind)
#93052E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871e43;
/* rgb */ color: rgb(135, 30, 67);
/* oklch */ color: oklch(42.0% 0.142 4.8);
Tailwind
colors: {
  custom: {
    50: '#af6476',
    500: '#871e43',
    950: '#000000',
  },
}
SCSS
$custom: #871e43;
$custom-light: #af6476;
$custom-dark: #000000;
JSON
{
  "hex": "#871e43",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 67
  },
  "hsl": {
    "h": 338.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42021,
    "c": 0.14177,
    "h": 4.8
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#871E43
secondary
#48B991
accent
#E7AC41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871E43

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

Preview Lab → · Contrast checker → · Palette generator →

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