#871A4F#871A4F

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

Color values

HEX#871A4F
RGBrgb(135, 26, 79)
HSLhsl(331, 68%, 32%)
HSVhsv(331, 81%, 53%)
CMYKcmyk(0%, 80.7%, 41.5%, 47.1%)
CIE-LABlab(30.53, 48.66, -3.61)
CIE-LCHlch(30.53, 48.80, 355.76°)
OKLaboklab(42.09% 0.1497 -0.0089)
OKLCHoklch(42.09% 0.15 356.6)
XYZxyz(11.7732, 6.4557, 8.0217)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871A4F #1A8752
analogous
#871A86 #871A4F #871C1A
triadic
#871A4F #4F871A #1A4F87
tetradic
#871A4F #86871A #1A8752 #1C1A87
square
#871A4F #86871A #1A8752 #1C1A87
split-complementary
#871A4F #1A871C #1A8687
monochromatic
#200613 #541031 #871A4F #BA246D #DA418C

Accessibility & contrast

On white

9.17
#871A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871A4F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871A4F#FFFFFF#000000##FFFFFF
##871A4F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#504F4D
Tritanopia (blue-blind)
#920732
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871a4f;
/* rgb */ color: rgb(135, 26, 79);
/* oklch */ color: oklch(42.1% 0.150 356.6);
Tailwind
colors: {
  custom: {
    50: '#af6380',
    500: '#871a4f',
    950: '#000000',
  },
}
SCSS
$custom: #871a4f;
$custom-light: #af6380;
$custom-dark: #000000;
JSON
{
  "hex": "#871a4f",
  "rgb": {
    "r": 135,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 330.826,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.14993,
    "h": 356.6
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#871A4F
secondary
#42BA80
accent
#EB963D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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