#871B43#871B43

#871B43 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.145 H 4.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#871B43
RGBrgb(135, 27, 67)
HSLhsl(338, 67%, 32%)
HSVhsv(338, 80%, 53%)
CMYKcmyk(0%, 80%, 50.4%, 47.1%)
CIE-LABlab(30.26, 47.17, 3.93)
CIE-LCHlch(30.26, 47.34, 4.77°)
OKLaboklab(41.76% 0.1445 0.0105)
OKLCHoklch(41.76% 0.145 4.2)
XYZxyz(11.3977, 6.3416, 5.9330)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B43 #1B875F
analogous
#871B79 #871B43 #87291B
triadic
#871B43 #43871B #1B4387
tetradic
#871B43 #79871B #1B875F #291B87
square
#871B43 #79871B #1B875F #291B87
split-complementary
#871B43 #1B8729 #1B7987
monochromatic
#210710 #54112A #871B43 #BA255C #D9437B

Accessibility & contrast

On white

9.26
#871B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B43
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B43#FFFFFF#000000##FFFFFF
##871B431.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A44
Deuteranopia (green-blind)
#534F40
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871b43;
/* rgb */ color: rgb(135, 27, 67);
/* oklch */ color: oklch(41.8% 0.145 4.2);
Tailwind
colors: {
  custom: {
    50: '#af6376',
    500: '#871b43',
    950: '#000000',
  },
}
SCSS
$custom: #871b43;
$custom-light: #af6376;
$custom-dark: #000000;
JSON
{
  "hex": "#871b43",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 67
  },
  "hsl": {
    "h": 337.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41764,
    "c": 0.14483,
    "h": 4.2
  },
  "luminance": 0.0634
}

Semantic roles & 50–950 ramp

primary
#871B43
secondary
#44BA8E
accent
#EAAA3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871B43

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

Preview Lab → · Contrast checker → · Palette generator →

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