#871C45#871C45

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

Color values

HEX#871C45
RGBrgb(135, 28, 69)
HSLhsl(337, 66%, 32%)
HSVhsv(337, 79%, 53%)
CMYKcmyk(0%, 79.3%, 48.9%, 47.1%)
CIE-LABlab(30.43, 47.04, 2.85)
CIE-LCHlch(30.43, 47.13, 3.47°)
OKLaboklab(41.91% 0.1442 0.0078)
OKLCHoklch(41.91% 0.144 3.1)
XYZxyz(11.4821, 6.4126, 6.2622)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C45 #1C875E
analogous
#871C7B #871C45 #87281C
triadic
#871C45 #45871C #1C4587
tetradic
#871C45 #7B871C #1C875E #281C87
square
#871C45 #7B871C #1C875E #281C87
split-complementary
#871C45 #1C8728 #1C7B87
monochromatic
#220711 #54112B #871C45 #BA275F #D8457D

Accessibility & contrast

On white

9.20
#871C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C45
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C45#FFFFFF#000000##FFFFFF
##871C451.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A46
Deuteranopia (green-blind)
#524F42
Tritanopia (blue-blind)
#93022E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871c45;
/* rgb */ color: rgb(135, 28, 69);
/* oklch */ color: oklch(41.9% 0.144 3.1);
Tailwind
colors: {
  custom: {
    50: '#af6478',
    500: '#871c45',
    950: '#000000',
  },
}
SCSS
$custom: #871c45;
$custom-light: #af6478;
$custom-dark: #000000;
JSON
{
  "hex": "#871c45",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 69
  },
  "hsl": {
    "h": 337.009,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.14439,
    "h": 3.1
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#871C45
secondary
#45BA8D
accent
#E9A83F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871C45

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

Preview Lab → · Contrast checker → · Palette generator →

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