#871E46#871E46

#871E46 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.143 H 2.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#871E46
RGBrgb(135, 30, 70)
HSLhsl(337, 64%, 32%)
HSVhsv(337, 78%, 53%)
CMYKcmyk(0%, 77.8%, 48.1%, 47.1%)
CIE-LABlab(30.70, 46.47, 2.57)
CIE-LCHlch(30.70, 46.54, 3.17°)
OKLaboklab(42.12% 0.1424 0.0071)
OKLCHoklch(42.12% 0.143 2.9)
XYZxyz(11.5624, 6.5232, 6.4434)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E46 #1E875F
analogous
#871E7A #871E46 #872B1E
triadic
#871E46 #46871E #1E4687
tetradic
#871E46 #7A871E #1E875F #2B1E87
square
#871E46 #7A871E #1E875F #2B1E87
split-complementary
#871E46 #1E872B #1E7A87
monochromatic
#230812 #55132C #871E46 #B92960 #D7497F

Accessibility & contrast

On white

9.11
#871E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E46
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E46#FFFFFF#000000##FFFFFF
##871E461.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B47
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#93072F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871e46;
/* rgb */ color: rgb(135, 30, 70);
/* oklch */ color: oklch(42.1% 0.143 2.9);
Tailwind
colors: {
  custom: {
    50: '#af6479',
    500: '#871e46',
    950: '#000000',
  },
}
SCSS
$custom: #871e46;
$custom-light: #af6479;
$custom-dark: #000000;
JSON
{
  "hex": "#871e46",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 337.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42115,
    "c": 0.1426,
    "h": 2.9
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#871E46
secondary
#48B98E
accent
#E7A841
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871E46

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

Preview Lab → · Contrast checker → · Palette generator →

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