#871F4B#871F4B

#871F4B is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.143 H 359.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#871F4B
RGBrgb(135, 31, 75)
HSLhsl(335, 63%, 33%)
HSVhsv(335, 77%, 53%)
CMYKcmyk(0%, 77%, 44.4%, 47.1%)
CIE-LABlab(30.97, 46.62, -0.33)
CIE-LCHlch(30.97, 46.62, 359.60°)
OKLaboklab(42.37% 0.1431 -0.0003)
OKLCHoklch(42.37% 0.143 359.9)
XYZxyz(11.7526, 6.6404, 7.3181)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F4B #1F875B
analogous
#871F7F #871F4B #87271F
triadic
#871F4B #4B871F #1F4B87
tetradic
#871F4B #7F871F #1F875B #271F87
square
#871F4B #7F871F #1F875B #271F87
split-complementary
#871F4B #1F8727 #1F7F87
monochromatic
#230814 #55142F #871F4B #B92A67 #D64B86

Accessibility & contrast

On white

9.02
#871F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#871F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F4B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F4B#FFFFFF#000000##FFFFFF
##871F4B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#930D32
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871f4b;
/* rgb */ color: rgb(135, 31, 75);
/* oklch */ color: oklch(42.4% 0.143 359.9);
Tailwind
colors: {
  custom: {
    50: '#af657d',
    500: '#871f4b',
    950: '#000000',
  },
}
SCSS
$custom: #871f4b;
$custom-light: #af657d;
$custom-dark: #000000;
JSON
{
  "hex": "#871f4b",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 334.615,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4237,
    "c": 0.14313,
    "h": 359.9
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#871F4B
secondary
#4AB889
accent
#E6A042
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #871F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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