#8E507A#8E507A

#8E507A is a mid, moderate pink. Relative luminance 0.129; OKLCH L 51.8% C 0.100 H 340.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8E507A
RGBrgb(142, 80, 122)
HSLhsl(319, 28%, 44%)
HSVhsv(319, 44%, 56%)
CMYKcmyk(0%, 43.7%, 14.1%, 44.3%)
CIE-LABlab(42.60, 32.05, -12.60)
CIE-LCHlch(42.60, 34.43, 338.54°)
OKLaboklab(51.8% 0.0939 -0.0336)
OKLCHoklch(51.8% 0.1 340.3)
XYZxyz(17.5370, 12.8943, 19.9737)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E507A #508E64
analogous
#83508E #8E507A #8E505B
triadic
#8E507A #7A8E50 #507A8E
tetradic
#8E507A #8E8350 #508E64 #505B8E
square
#8E507A #8E8350 #508E64 #505B8E
split-complementary
#8E507A #5B8E50 #508E83
monochromatic
#402437 #673A58 #8E507A #AD6E99 #C395B4

Accessibility & contrast

On white

5.87
#8E507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8E507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E507A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E507A#FFFFFF#000000##FFFFFF
##8E507A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7C
Deuteranopia (green-blind)
#636878
Tritanopia (blue-blind)
#955160
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e507a;
/* rgb */ color: rgb(142, 80, 122);
/* oklch */ color: oklch(51.8% 0.100 340.3);
Tailwind
colors: {
  custom: {
    50: '#b083a0',
    500: '#8e507a',
    950: '#000000',
  },
}
SCSS
$custom: #8e507a;
$custom-light: #b083a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e507a",
  "rgb": {
    "r": 142,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 319.355,
    "s": 27.928,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51799,
    "c": 0.09976,
    "h": 340.3
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#8E507A
secondary
#8AB096
accent
#C48364
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#110B0E
muted
#807C7E

Preview Lab

Preview with #8E507A

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

Preview Lab → · Contrast checker → · Palette generator →

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