#871B38#871B38

#871B38 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.143 H 11.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#871B38
RGBrgb(135, 27, 56)
HSLhsl(344, 67%, 32%)
HSVhsv(344, 80%, 53%)
CMYKcmyk(0%, 80%, 58.5%, 47.1%)
CIE-LABlab(29.97, 46.26, 10.84)
CIE-LCHlch(29.97, 47.51, 13.19°)
OKLaboklab(41.45% 0.1401 0.0272)
OKLCHoklch(41.45% 0.143 11)
XYZxyz(11.0985, 6.2219, 4.3572)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B38 #1B876A
analogous
#871B6E #871B38 #87341B
triadic
#871B38 #38871B #1B3887
tetradic
#871B38 #6E871B #1B876A #341B87
square
#871B38 #6E871B #1B876A #341B87
split-complementary
#871B38 #1B8734 #1B6E87
monochromatic
#21070E #541123 #871B38 #BA254D #D9436B

Accessibility & contrast

On white

9.36
#871B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B38
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B38#FFFFFF#000000##FFFFFF
##871B381.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#544E35
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871b38;
/* rgb */ color: rgb(135, 27, 56);
/* oklch */ color: oklch(41.5% 0.143 11.0);
Tailwind
colors: {
  custom: {
    50: '#b0636e',
    500: '#871b38',
    950: '#000000',
  },
}
SCSS
$custom: #871b38;
$custom-light: #b0636e;
$custom-dark: #000000;
JSON
{
  "hex": "#871b38",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 343.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41453,
    "c": 0.14268,
    "h": 11
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#871B38
secondary
#44BA9A
accent
#EABC3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871B38

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

Preview Lab → · Contrast checker → · Palette generator →

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