#8E396C#8E396C

#8E396C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.7% C 0.130 H 346.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8E396C
RGBrgb(142, 57, 108)
HSLhsl(324, 43%, 39%)
HSVhsv(324, 60%, 56%)
CMYKcmyk(0%, 59.9%, 23.9%, 44.3%)
CIE-LABlab(37.41, 41.93, -11.80)
CIE-LCHlch(37.41, 43.56, 344.28°)
OKLaboklab(47.74% 0.1261 -0.0312)
OKLCHoklch(47.74% 0.13 346.1)
XYZxyz(15.3257, 9.7611, 15.2614)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E396C #398E5B
analogous
#86398E #8E396C #8E3942
triadic
#8E396C #6C8E39 #396C8E
tetradic
#8E396C #8E8639 #398E5B #39428E
square
#8E396C #8E8639 #398E5B #39428E
split-complementary
#8E396C #428E39 #398E86
monochromatic
#37162A #62274B #8E396C #B74D8D #C978A9

Accessibility & contrast

On white

7.11
#8E396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8E396C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E396C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E396C#FFFFFF#000000##FFFFFF
##8E396C1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#595D6A
Tritanopia (blue-blind)
#97384D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e396c;
/* rgb */ color: rgb(142, 57, 108);
/* oklch */ color: oklch(47.7% 0.130 346.1);
Tailwind
colors: {
  custom: {
    50: '#b27496',
    500: '#8e396c',
    950: '#000000',
  },
}
SCSS
$custom: #8e396c;
$custom-light: #b27496;
$custom-dark: #000000;
JSON
{
  "hex": "#8e396c",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 324,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47744,
    "c": 0.12988,
    "h": 346.1
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#8E396C
secondary
#71B28B
accent
#D28755
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E396C

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

Preview Lab → · Contrast checker → · Palette generator →

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