#871C4C#871C4C

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

Color values

HEX#871C4C
RGBrgb(135, 28, 76)
HSLhsl(333, 66%, 32%)
HSVhsv(333, 79%, 53%)
CMYKcmyk(0%, 79.3%, 43.7%, 47.1%)
CIE-LABlab(30.65, 47.73, -1.46)
CIE-LCHlch(30.65, 47.75, 358.25°)
OKLaboklab(42.14% 0.1467 -0.0032)
OKLCHoklch(42.14% 0.147 358.7)
XYZxyz(11.7123, 6.5047, 7.4749)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C4C #1C8757
analogous
#871C82 #871C4C #87221C
triadic
#871C4C #4C871C #1C4C87
tetradic
#871C4C #82871C #1C8757 #221C87
square
#871C4C #82871C #1C8757 #221C87
split-complementary
#871C4C #1C8722 #1C8287
monochromatic
#220713 #54112F #871C4C #BA2769 #D84587

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##871C4C#FFFFFF#000000##FFFFFF
##871C4C1.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)
#343B4D
Deuteranopia (green-blind)
#514F4A
Tritanopia (blue-blind)
#930831
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871c4c;
/* rgb */ color: rgb(135, 28, 76);
/* oklch */ color: oklch(42.1% 0.147 358.7);
Tailwind
colors: {
  custom: {
    50: '#af647d',
    500: '#871c4c',
    950: '#000000',
  },
}
SCSS
$custom: #871c4c;
$custom-light: #af647d;
$custom-dark: #000000;
JSON
{
  "hex": "#871c4c",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 333.084,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42144,
    "c": 0.14672,
    "h": 358.7
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#871C4C
secondary
#45BA85
accent
#E99D3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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