#871C38#871C38

#871C38 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.142 H 11.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#871C38
RGBrgb(135, 28, 56)
HSLhsl(344, 66%, 32%)
HSVhsv(344, 79%, 53%)
CMYKcmyk(0%, 79.3%, 58.5%, 47.1%)
CIE-LABlab(30.08, 45.94, 11.00)
CIE-LCHlch(30.08, 47.24, 13.47°)
OKLaboklab(41.54% 0.139 0.0275)
OKLCHoklch(41.54% 0.142 11.2)
XYZxyz(11.1218, 6.2685, 4.3649)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871C38 #1C876B
analogous
#871C6E #871C38 #87361C
triadic
#871C38 #38871C #1C3887
tetradic
#871C38 #6E871C #1C876B #361C87
square
#871C38 #6E871C #1C876B #361C87
split-complementary
#871C38 #1C8736 #1C6E87
monochromatic
#22070E #541123 #871C38 #BA274D #D8456C

Accessibility & contrast

On white

9.32
#871C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871C38
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871C38#FFFFFF#000000##FFFFFF
##871C381.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#940028
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871c38;
/* rgb */ color: rgb(135, 28, 56);
/* oklch */ color: oklch(41.5% 0.142 11.2);
Tailwind
colors: {
  custom: {
    50: '#b0636e',
    500: '#871c38',
    950: '#000000',
  },
}
SCSS
$custom: #871c38;
$custom-light: #b0636e;
$custom-dark: #000000;
JSON
{
  "hex": "#871c38",
  "rgb": {
    "r": 135,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 344.299,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.14173,
    "h": 11.2
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#871C38
secondary
#45BA9B
accent
#E9BC3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871C38

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

Preview Lab → · Contrast checker → · Palette generator →

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