#9E397D#9E397D

#9E397D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 50.9% C 0.154 H 342.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9E397D
RGBrgb(158, 57, 125)
HSLhsl(320, 47%, 42%)
HSVhsv(320, 64%, 62%)
CMYKcmyk(0%, 63.9%, 20.9%, 38%)
CIE-LABlab(40.70, 49.32, -17.13)
CIE-LCHlch(40.70, 52.21, 340.85°)
OKLaboklab(50.91% 0.1476 -0.0458)
OKLCHoklch(50.91% 0.154 342.8)
XYZxyz(19.2659, 11.6778, 20.6374)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E397D #399E5A
analogous
#8D399E #9E397D #9E394A
triadic
#9E397D #7D9E39 #397D9E
tetradic
#9E397D #9E8D39 #399E5A #394A9E
square
#9E397D #9E8D39 #399E5A #394A9E
split-complementary
#9E397D #4A9E39 #399E8D
monochromatic
#441936 #712959 #9E397D #C1539D #D180B7

Accessibility & contrast

On white

6.30
#9E397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E397D
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E397D#FFFFFF#000000##FFFFFF
##9E397D1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#5F667B
Tritanopia (blue-blind)
#A83956
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e397d;
/* rgb */ color: rgb(158, 57, 125);
/* oklch */ color: oklch(50.9% 0.154 342.8);
Tailwind
colors: {
  custom: {
    50: '#be76a2',
    500: '#9e397d',
    950: '#000000',
  },
}
SCSS
$custom: #9e397d;
$custom-light: #be76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e397d",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 319.604,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.15449,
    "h": 342.8
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#9E397D
secondary
#78BB8E
accent
#D77D51
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9E397D

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

Preview Lab → · Contrast checker → · Palette generator →

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