#871E45#871E45

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

Color values

HEX#871E45
RGBrgb(135, 30, 69)
HSLhsl(338, 64%, 32%)
HSVhsv(338, 78%, 53%)
CMYKcmyk(0%, 77.8%, 48.9%, 47.1%)
CIE-LABlab(30.67, 46.38, 3.19)
CIE-LCHlch(30.67, 46.49, 3.94°)
OKLaboklab(42.08% 0.142 0.0087)
OKLCHoklch(42.08% 0.142 3.5)
XYZxyz(11.5311, 6.5107, 6.2785)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E45 #1E8760
analogous
#871E7A #871E45 #872B1E
triadic
#871E45 #45871E #1E4587
tetradic
#871E45 #7A871E #1E8760 #2B1E87
square
#871E45 #7A871E #1E8760 #2B1E87
split-complementary
#871E45 #1E872B #1E7A87
monochromatic
#230812 #55132B #871E45 #B9295F #D7497D

Accessibility & contrast

On white

9.12
#871E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871E45
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E45#FFFFFF#000000##FFFFFF
##871E451.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#535043
Tritanopia (blue-blind)
#93062F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871e45;
/* rgb */ color: rgb(135, 30, 69);
/* oklch */ color: oklch(42.1% 0.142 3.5);
Tailwind
colors: {
  custom: {
    50: '#af6478',
    500: '#871e45',
    950: '#000000',
  },
}
SCSS
$custom: #871e45;
$custom-light: #af6478;
$custom-dark: #000000;
JSON
{
  "hex": "#871e45",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 337.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42083,
    "c": 0.1423,
    "h": 3.5
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#871E45
secondary
#48B98F
accent
#E7A941
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871E45

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

Preview Lab → · Contrast checker → · Palette generator →

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