#8E4E71#8E4E71

#8E4E71 is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.1% C 0.097 H 347.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8E4E71
RGBrgb(142, 78, 113)
HSLhsl(327, 29%, 43%)
HSVhsv(327, 45%, 56%)
CMYKcmyk(0%, 45.1%, 20.4%, 44.3%)
CIE-LABlab(41.83, 31.66, -8.24)
CIE-LCHlch(41.83, 32.71, 345.41°)
OKLaboklab(51.11% 0.0944 -0.0216)
OKLCHoklch(51.11% 0.097 347.1)
XYZxyz(16.8607, 12.3930, 17.1236)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4E71 #4E8E6B
analogous
#8B4E8E #8E4E71 #8E4E51
triadic
#8E4E71 #718E4E #4E718E
tetradic
#8E4E71 #8E8B4E #4E8E6B #4E518E
square
#8E4E71 #8E8B4E #4E8E6B #4E518E
split-complementary
#8E4E71 #518E4E #4E8E8B
monochromatic
#3F2332 #663852 #8E4E71 #AE6B90 #C493AD

Accessibility & contrast

On white

6.04
#8E4E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8E4E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4E71
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4E71#FFFFFF#000000##FFFFFF
##8E4E711.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C72
Deuteranopia (green-blind)
#64676F
Tritanopia (blue-blind)
#964D5B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e4e71;
/* rgb */ color: rgb(142, 78, 113);
/* oklch */ color: oklch(51.1% 0.097 347.1);
Tailwind
colors: {
  custom: {
    50: '#b18199',
    500: '#8e4e71',
    950: '#000000',
  },
}
SCSS
$custom: #8e4e71;
$custom-light: #b18199;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4e71",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 327.188,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51112,
    "c": 0.09681,
    "h": 347.1
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#8E4E71
secondary
#88B09A
accent
#C58F62
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#110A0E
muted
#807C7E

Preview Lab

Preview with #8E4E71

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

Preview Lab → · Contrast checker → · Palette generator →

#8E4E71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva