#8E396B#8E396B

#8E396B is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.7% C 0.129 H 346.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8E396B
RGBrgb(142, 57, 107)
HSLhsl(325, 43%, 39%)
HSVhsv(325, 60%, 56%)
CMYKcmyk(0%, 59.9%, 24.6%, 44.3%)
CIE-LABlab(37.37, 41.78, -11.23)
CIE-LCHlch(37.37, 43.26, 344.95°)
OKLaboklab(47.7% 0.1258 -0.0296)
OKLCHoklch(47.7% 0.129 346.8)
XYZxyz(15.2728, 9.7400, 14.9827)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E396B #398E5C
analogous
#87398E #8E396B #8E3941
triadic
#8E396B #6B8E39 #396B8E
tetradic
#8E396B #8E8739 #398E5C #39418E
square
#8E396B #8E8739 #398E5C #39418E
split-complementary
#8E396B #418E39 #398E87
monochromatic
#371629 #62274A #8E396B #B74D8C #C978A8

Accessibility & contrast

On white

7.12
#8E396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E396B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E396B#FFFFFF#000000##FFFFFF
##8E396B1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6D
Deuteranopia (green-blind)
#595D69
Tritanopia (blue-blind)
#97374D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e396b;
/* rgb */ color: rgb(142, 57, 107);
/* oklch */ color: oklch(47.7% 0.129 346.8);
Tailwind
colors: {
  custom: {
    50: '#b27495',
    500: '#8e396b',
    950: '#000000',
  },
}
SCSS
$custom: #8e396b;
$custom-light: #b27495;
$custom-dark: #000000;
JSON
{
  "hex": "#8e396b",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 324.706,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47703,
    "c": 0.12924,
    "h": 346.8
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#8E396B
secondary
#71B28C
accent
#D28955
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E396B

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

Preview Lab → · Contrast checker → · Palette generator →

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