#871E44#871E44

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

Color values

HEX#871E44
RGBrgb(135, 30, 68)
HSLhsl(338, 64%, 32%)
HSVhsv(338, 78%, 53%)
CMYKcmyk(0%, 77.8%, 49.6%, 47.1%)
CIE-LABlab(30.64, 46.28, 3.81)
CIE-LCHlch(30.64, 46.44, 4.71°)
OKLaboklab(42.05% 0.1417 0.0102)
OKLCHoklch(42.05% 0.142 4.1)
XYZxyz(11.5003, 6.4984, 6.1164)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871E44 #1E8761
analogous
#871E78 #871E44 #872D1E
triadic
#871E44 #44871E #1E4487
tetradic
#871E44 #78871E #1E8761 #2D1E87
square
#871E44 #78871E #1E8761 #2D1E87
split-complementary
#871E44 #1E872D #1E7887
monochromatic
#230812 #55132B #871E44 #B9295D #D7497C

Accessibility & contrast

On white

9.13
#871E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#871E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871E44
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871E44#FFFFFF#000000##FFFFFF
##871E441.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B45
Deuteranopia (green-blind)
#535042
Tritanopia (blue-blind)
#93052E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871e44;
/* rgb */ color: rgb(135, 30, 68);
/* oklch */ color: oklch(42.1% 0.142 4.1);
Tailwind
colors: {
  custom: {
    50: '#af6477',
    500: '#871e44',
    950: '#000000',
  },
}
SCSS
$custom: #871e44;
$custom-light: #af6477;
$custom-dark: #000000;
JSON
{
  "hex": "#871e44",
  "rgb": {
    "r": 135,
    "g": 30,
    "b": 68
  },
  "hsl": {
    "h": 338.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42052,
    "c": 0.14203,
    "h": 4.1
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#871E44
secondary
#48B990
accent
#E7AB41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871E44

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

Preview Lab → · Contrast checker → · Palette generator →

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