#871E3F#871E3F

#871E3F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.141 H 7.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#871E3F
RGBrgb(135, 30, 63)
HSLhsl(341, 64%, 32%)
HSVhsv(341, 78%, 53%)
CMYKcmyk(0%, 77.8%, 53.3%, 47.1%)
CIE-LABlab(30.50, 45.84, 6.93)
CIE-LCHlch(30.50, 46.36, 8.59°)
OKLaboklab(41.9% 0.1397 0.0179)
OKLCHoklch(41.9% 0.141 7.3)
XYZxyz(11.3542, 6.4399, 5.3468)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E3F #1E8766
analogous
#871E73 #871E3F #87321E
triadic
#871E3F #3F871E #1E3F87
tetradic
#871E3F #73871E #1E8766 #321E87
square
#871E3F #73871E #1E8766 #321E87
split-complementary
#871E3F #1E8732 #1E7387
monochromatic
#230810 #551328 #871E3F #B92956 #D74975

Accessibility & contrast

On white

9.18
#871E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#871E3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E3F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E3F#FFFFFF#000000##FFFFFF
##871E3F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A40
Deuteranopia (green-blind)
#544F3C
Tritanopia (blue-blind)
#94012C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871e3f;
/* rgb */ color: rgb(135, 30, 63);
/* oklch */ color: oklch(41.9% 0.141 7.3);
Tailwind
colors: {
  custom: {
    50: '#af6473',
    500: '#871e3f',
    950: '#000000',
  },
}
SCSS
$custom: #871e3f;
$custom-light: #af6473;
$custom-dark: #000000;
JSON
{
  "hex": "#871e3f",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 63
  },
  "hsl": {
    "h": 341.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41902,
    "c": 0.14086,
    "h": 7.3
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#871E3F
secondary
#48B995
accent
#E7B341
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #871E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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