#8E396D#8E396D

#8E396D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.8% C 0.131 H 345.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8E396D
RGBrgb(142, 57, 109)
HSLhsl(323, 43%, 39%)
HSVhsv(323, 60%, 56%)
CMYKcmyk(0%, 59.9%, 23.2%, 44.3%)
CIE-LABlab(37.45, 42.07, -12.37)
CIE-LCHlch(37.45, 43.86, 343.61°)
OKLaboklab(47.79% 0.1264 -0.0327)
OKLCHoklch(47.79% 0.131 345.5)
XYZxyz(15.3792, 9.7826, 15.5433)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E396D #398E5A
analogous
#85398E #8E396D #8E3943
triadic
#8E396D #6D8E39 #396D8E
tetradic
#8E396D #8E8539 #398E5A #39438E
square
#8E396D #8E8539 #398E5A #39438E
split-complementary
#8E396D #438E39 #398E85
monochromatic
#37162A #62274B #8E396D #B74D8E #C978AA

Accessibility & contrast

On white

7.10
#8E396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8E396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E396D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E396D#FFFFFF#000000##FFFFFF
##8E396D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6F
Deuteranopia (green-blind)
#595D6B
Tritanopia (blue-blind)
#97384E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e396d;
/* rgb */ color: rgb(142, 57, 109);
/* oklch */ color: oklch(47.8% 0.131 345.5);
Tailwind
colors: {
  custom: {
    50: '#b27497',
    500: '#8e396d',
    950: '#000000',
  },
}
SCSS
$custom: #8e396d;
$custom-light: #b27497;
$custom-dark: #000000;
JSON
{
  "hex": "#8e396d",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 323.294,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47786,
    "c": 0.13054,
    "h": 345.5
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#8E396D
secondary
#71B28A
accent
#D28655
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8E396D

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

Preview Lab → · Contrast checker → · Palette generator →

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