#8E397E#8E397E

#8E397E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.6% C 0.143 H 335.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8E397E
RGBrgb(142, 57, 126)
HSLhsl(311, 43%, 39%)
HSVhsv(311, 60%, 56%)
CMYKcmyk(0%, 59.9%, 11.3%, 44.3%)
CIE-LABlab(38.17, 44.77, -21.85)
CIE-LCHlch(38.17, 49.82, 333.98°)
OKLaboklab(48.56% 0.1302 -0.0593)
OKLCHoklch(48.56% 0.143 335.5)
XYZxyz(16.3845, 10.1847, 20.8375)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E397E #398E49
analogous
#74398E #8E397E #8E3954
triadic
#8E397E #7E8E39 #397E8E
tetradic
#8E397E #8E7439 #398E49 #39548E
square
#8E397E #8E7439 #398E49 #39548E
split-complementary
#8E397E #548E39 #398E74
monochromatic
#371631 #622757 #8E397E #B74DA3 #C978BA

Accessibility & contrast

On white

6.92
#8E397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8E397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E397E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E397E#FFFFFF#000000##FFFFFF
##8E397E1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#953E56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e397e;
/* rgb */ color: rgb(142, 57, 126);
/* oklch */ color: oklch(48.6% 0.143 335.5);
Tailwind
colors: {
  custom: {
    50: '#b174a3',
    500: '#8e397e',
    950: '#000000',
  },
}
SCSS
$custom: #8e397e;
$custom-light: #b174a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e397e",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 311.294,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.14311,
    "h": 335.5
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#8E397E
secondary
#71B27D
accent
#D26D55
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8E397E

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

Preview Lab → · Contrast checker → · Palette generator →

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