#9E397E#9E397E

#9E397E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.155 H 342.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9E397E
RGBrgb(158, 57, 126)
HSLhsl(319, 47%, 42%)
HSVhsv(319, 64%, 62%)
CMYKcmyk(0%, 63.9%, 20.3%, 38%)
CIE-LABlab(40.74, 49.46, -17.68)
CIE-LCHlch(40.74, 52.53, 340.33°)
OKLaboklab(50.95% 0.1478 -0.0473)
OKLCHoklch(50.95% 0.155 342.3)
XYZxyz(19.3301, 11.7035, 20.9756)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E397E #399E59
analogous
#8C399E #9E397E #9E394B
triadic
#9E397E #7E9E39 #397E9E
tetradic
#9E397E #9E8C39 #399E59 #394B9E
square
#9E397E #9E8C39 #399E59 #394B9E
split-complementary
#9E397E #4B9E39 #399E8C
monochromatic
#441936 #71295A #9E397E #C1539E #D180B8

Accessibility & contrast

On white

6.29
#9E397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9E397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E397E
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E397E#FFFFFF#000000##FFFFFF
##9E397E1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#5F667C
Tritanopia (blue-blind)
#A73A56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e397e;
/* rgb */ color: rgb(158, 57, 126);
/* oklch */ color: oklch(51.0% 0.155 342.3);
Tailwind
colors: {
  custom: {
    50: '#be76a3',
    500: '#9e397e',
    950: '#000000',
  },
}
SCSS
$custom: #9e397e;
$custom-light: #be76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e397e",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 319.01,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.15517,
    "h": 342.3
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#9E397E
secondary
#78BB8D
accent
#D77B51
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9E397E

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

Preview Lab → · Contrast checker → · Palette generator →

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