#8E397A#8E397A

#8E397A is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.4% C 0.140 H 337.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8E397A
RGBrgb(142, 57, 122)
HSLhsl(314, 43%, 39%)
HSVhsv(314, 60%, 56%)
CMYKcmyk(0%, 59.9%, 14.1%, 44.3%)
CIE-LABlab(37.99, 44.11, -19.65)
CIE-LCHlch(37.99, 48.29, 335.98°)
OKLaboklab(48.36% 0.1295 -0.0531)
OKLCHoklch(48.36% 0.14 337.7)
XYZxyz(16.1315, 10.0835, 19.5053)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E397A #398E4D
analogous
#78398E #8E397A #8E3950
triadic
#8E397A #7A8E39 #397A8E
tetradic
#8E397A #8E7839 #398E4D #39508E
square
#8E397A #8E7839 #398E4D #39508E
split-complementary
#8E397A #508E39 #398E78
monochromatic
#37162F #622754 #8E397A #B74D9E #C978B6

Accessibility & contrast

On white

6.96
#8E397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8E397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E397A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E397A#FFFFFF#000000##FFFFFF
##8E397A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#555E78
Tritanopia (blue-blind)
#953C54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e397a;
/* rgb */ color: rgb(142, 57, 122);
/* oklch */ color: oklch(48.4% 0.140 337.7);
Tailwind
colors: {
  custom: {
    50: '#b274a0',
    500: '#8e397a',
    950: '#000000',
  },
}
SCSS
$custom: #8e397a;
$custom-light: #b274a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e397a",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 314.118,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48364,
    "c": 0.13993,
    "h": 337.7
  },
  "luminance": 0.10082
}

Semantic roles & 50–950 ramp

primary
#8E397A
secondary
#71B280
accent
#D27355
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E397A

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

Preview Lab → · Contrast checker → · Palette generator →

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