#871F49#871F49

#871F49 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.142 H 1.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#871F49
RGBrgb(135, 31, 73)
HSLhsl(336, 63%, 33%)
HSVhsv(336, 77%, 53%)
CMYKcmyk(0%, 77%, 45.9%, 47.1%)
CIE-LABlab(30.91, 46.42, 0.90)
CIE-LCHlch(30.91, 46.43, 1.11°)
OKLaboklab(42.3% 0.1424 0.0028)
OKLCHoklch(42.3% 0.142 1.1)
XYZxyz(11.6852, 6.6134, 6.9632)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F49 #1F875D
analogous
#871F7D #871F49 #87291F
triadic
#871F49 #49871F #1F4987
tetradic
#871F49 #7D871F #1F875D #291F87
square
#871F49 #7D871F #1F875D #291F87
split-complementary
#871F49 #1F8729 #1F7D87
monochromatic
#230813 #55142E #871F49 #B92A64 #D64B83

Accessibility & contrast

On white

9.04
#871F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#871F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F49
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F49#FFFFFF#000000##FFFFFF
##871F491.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C4A
Deuteranopia (green-blind)
#535047
Tritanopia (blue-blind)
#930C31
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871f49;
/* rgb */ color: rgb(135, 31, 73);
/* oklch */ color: oklch(42.3% 0.142 1.1);
Tailwind
colors: {
  custom: {
    50: '#af657b',
    500: '#871f49',
    950: '#000000',
  },
}
SCSS
$custom: #871f49;
$custom-light: #af657b;
$custom-dark: #000000;
JSON
{
  "hex": "#871f49",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 335.769,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42303,
    "c": 0.14245,
    "h": 1.1
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#871F49
secondary
#4AB88C
accent
#E6A442
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871F49

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

Preview Lab → · Contrast checker → · Palette generator →

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