#871B4F#871B4F

#871B4F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.149 H 356.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#871B4F
RGBrgb(135, 27, 79)
HSLhsl(331, 67%, 32%)
HSVhsv(331, 80%, 53%)
CMYKcmyk(0%, 80%, 41.5%, 47.1%)
CIE-LABlab(30.64, 48.36, -3.45)
CIE-LCHlch(30.64, 48.48, 355.92°)
OKLaboklab(42.17% 0.1487 -0.0085)
OKLCHoklch(42.17% 0.149 356.7)
XYZxyz(11.7957, 6.5008, 8.0292)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B4F #1B8753
analogous
#871B85 #871B4F #871D1B
triadic
#871B4F #4F871B #1B4F87
tetradic
#871B4F #85871B #1B8753 #1D1B87
square
#871B4F #85871B #1B8753 #1D1B87
split-complementary
#871B4F #1B871D #1B8587
monochromatic
#210713 #541131 #871B4F #BA256D #D9438B

Accessibility & contrast

On white

9.13
#871B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871B4F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B4F#FFFFFF#000000##FFFFFF
##871B4F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871b4f;
/* rgb */ color: rgb(135, 27, 79);
/* oklch */ color: oklch(42.2% 0.149 356.7);
Tailwind
colors: {
  custom: {
    50: '#af6480',
    500: '#871b4f',
    950: '#000000',
  },
}
SCSS
$custom: #871b4f;
$custom-light: #af6480;
$custom-dark: #000000;
JSON
{
  "hex": "#871b4f",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 331.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42171,
    "c": 0.14893,
    "h": 356.7
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#871B4F
secondary
#44BA81
accent
#EA973E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #871B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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