#871F48#871F48

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

Color values

HEX#871F48
RGBrgb(135, 31, 72)
HSLhsl(336, 63%, 33%)
HSVhsv(336, 77%, 53%)
CMYKcmyk(0%, 77%, 46.7%, 47.1%)
CIE-LABlab(30.88, 46.32, 1.52)
CIE-LCHlch(30.88, 46.35, 1.87°)
OKLaboklab(42.27% 0.1421 0.0044)
OKLCHoklch(42.27% 0.142 1.8)
XYZxyz(11.6523, 6.6003, 6.7900)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F48 #1F875E
analogous
#871F7C #871F48 #872A1F
triadic
#871F48 #48871F #1F4887
tetradic
#871F48 #7C871F #1F875E #2A1F87
square
#871F48 #7C871F #1F875E #2A1F87
split-complementary
#871F48 #1F872A #1F7C87
monochromatic
#230813 #55142D #871F48 #B92A63 #D64B82

Accessibility & contrast

On white

9.05
#871F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F48
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F48#FFFFFF#000000##FFFFFF
##871F481.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#535046
Tritanopia (blue-blind)
#930B31
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #871f48;
/* rgb */ color: rgb(135, 31, 72);
/* oklch */ color: oklch(42.3% 0.142 1.8);
Tailwind
colors: {
  custom: {
    50: '#af657a',
    500: '#871f48',
    950: '#000000',
  },
}
SCSS
$custom: #871f48;
$custom-light: #af657a;
$custom-dark: #000000;
JSON
{
  "hex": "#871f48",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 336.346,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42269,
    "c": 0.14212,
    "h": 1.8
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#871F48
secondary
#4AB88D
accent
#E6A542
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871F48

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

Preview Lab → · Contrast checker → · Palette generator →

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