#871F44#871F44

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

Color values

HEX#871F44
RGBrgb(135, 31, 68)
HSLhsl(339, 63%, 33%)
HSVhsv(339, 77%, 53%)
CMYKcmyk(0%, 77%, 49.6%, 47.1%)
CIE-LABlab(30.76, 45.94, 3.99)
CIE-LCHlch(30.76, 46.11, 4.96°)
OKLaboklab(42.14% 0.1406 0.0107)
OKLCHoklch(42.14% 0.141 4.3)
XYZxyz(11.5260, 6.5498, 6.1250)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F44 #1F8762
analogous
#871F78 #871F44 #872E1F
triadic
#871F44 #44871F #1F4487
tetradic
#871F44 #78871F #1F8762 #2E1F87
square
#871F44 #78871F #1F8762 #2E1F87
split-complementary
#871F44 #1F872E #1F7887
monochromatic
#230812 #55142B #871F44 #B92A5D #D64B7C

Accessibility & contrast

On white

9.09
#871F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#871F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F44
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F44#FFFFFF#000000##FFFFFF
##871F441.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B45
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#93082F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871f44;
/* rgb */ color: rgb(135, 31, 68);
/* oklch */ color: oklch(42.1% 0.141 4.3);
Tailwind
colors: {
  custom: {
    50: '#af6577',
    500: '#871f44',
    950: '#000000',
  },
}
SCSS
$custom: #871f44;
$custom-light: #af6577;
$custom-dark: #000000;
JSON
{
  "hex": "#871f44",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 338.654,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42142,
    "c": 0.14096,
    "h": 4.3
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#871F44
secondary
#4AB891
accent
#E6AB42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871F44

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

Preview Lab → · Contrast checker → · Palette generator →

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