#871F47#871F47

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

Color values

HEX#871F47
RGBrgb(135, 31, 71)
HSLhsl(337, 63%, 33%)
HSVhsv(337, 77%, 53%)
CMYKcmyk(0%, 77%, 47.4%, 47.1%)
CIE-LABlab(30.85, 46.22, 2.13)
CIE-LCHlch(30.85, 46.27, 2.64°)
OKLaboklab(42.24% 0.1417 0.006)
OKLCHoklch(42.24% 0.142 2.4)
XYZxyz(11.6199, 6.5873, 6.6196)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F47 #1F875F
analogous
#871F7B #871F47 #872B1F
triadic
#871F47 #47871F #1F4787
tetradic
#871F47 #7B871F #1F875F #2B1F87
square
#871F47 #7B871F #1F875F #2B1F87
split-complementary
#871F47 #1F872B #1F7B87
monochromatic
#230813 #55142D #871F47 #B92A61 #D64B80

Accessibility & contrast

On white

9.06
#871F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F47
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F47#FFFFFF#000000##FFFFFF
##871F471.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C48
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#930A30
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871f47;
/* rgb */ color: rgb(135, 31, 71);
/* oklch */ color: oklch(42.2% 0.142 2.4);
Tailwind
colors: {
  custom: {
    50: '#af657a',
    500: '#871f47',
    950: '#000000',
  },
}
SCSS
$custom: #871f47;
$custom-light: #af657a;
$custom-dark: #000000;
JSON
{
  "hex": "#871f47",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 336.923,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42237,
    "c": 0.14182,
    "h": 2.4
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#871F47
secondary
#4AB88E
accent
#E6A742
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871F47

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

Preview Lab → · Contrast checker → · Palette generator →

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