#871F4E#871F4E

#871F4E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.144 H 358.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#871F4E
RGBrgb(135, 31, 78)
HSLhsl(333, 63%, 33%)
HSVhsv(333, 77%, 53%)
CMYKcmyk(0%, 77%, 42.2%, 47.1%)
CIE-LABlab(31.07, 46.94, -2.16)
CIE-LCHlch(31.07, 46.99, 357.37°)
OKLaboklab(42.48% 0.1442 -0.0051)
OKLCHoklch(42.48% 0.144 358)
XYZxyz(11.8577, 6.6824, 7.8717)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F4E #1F8758
analogous
#871F82 #871F4E #87241F
triadic
#871F4E #4E871F #1F4E87
tetradic
#871F4E #82871F #1F8758 #241F87
square
#871F4E #82871F #1F8758 #241F87
split-complementary
#871F4E #1F8724 #1F8287
monochromatic
#230814 #551431 #871F4E #B92A6B #D64B8A

Accessibility & contrast

On white

8.99
#871F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#871F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F4E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F4E#FFFFFF#000000##FFFFFF
##871F4E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D4F
Deuteranopia (green-blind)
#52504C
Tritanopia (blue-blind)
#921034
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871f4e;
/* rgb */ color: rgb(135, 31, 78);
/* oklch */ color: oklch(42.5% 0.144 358.0);
Tailwind
colors: {
  custom: {
    50: '#af657f',
    500: '#871f4e',
    950: '#000000',
  },
}
SCSS
$custom: #871f4e;
$custom-light: #af657f;
$custom-dark: #000000;
JSON
{
  "hex": "#871f4e",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 332.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42475,
    "c": 0.14426,
    "h": 358
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#871F4E
secondary
#4AB886
accent
#E69C42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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