#9E398D#9E398D

#9E398D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.166 H 335.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9E398D
RGBrgb(158, 57, 141)
HSLhsl(310, 47%, 42%)
HSVhsv(310, 64%, 62%)
CMYKcmyk(0%, 63.9%, 10.8%, 38%)
CIE-LABlab(41.41, 51.78, -25.83)
CIE-LCHlch(41.41, 57.87, 333.49°)
OKLaboklab(51.66% 0.1505 -0.0703)
OKLCHoklch(51.66% 0.166 335)
XYZxyz(20.3716, 12.1201, 26.4606)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E398D #399E4A
analogous
#7D399E #9E398D #9E395B
triadic
#9E398D #8D9E39 #398D9E
tetradic
#9E398D #9E7D39 #399E4A #395B9E
square
#9E398D #9E7D39 #399E4A #395B9E
split-complementary
#9E398D #5B9E39 #399E7D
monochromatic
#44193D #712965 #9E398D #C153AF #D180C4

Accessibility & contrast

On white

6.13
#9E398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9E398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E398D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E398D#FFFFFF#000000##FFFFFF
##9E398D1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395890
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#A5405E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e398d;
/* rgb */ color: rgb(158, 57, 141);
/* oklch */ color: oklch(51.7% 0.166 335.0);
Tailwind
colors: {
  custom: {
    50: '#be76ae',
    500: '#9e398d',
    950: '#000000',
  },
}
SCSS
$custom: #9e398d;
$custom-light: #be76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e398d",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 310.099,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51656,
    "c": 0.16614,
    "h": 335
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#9E398D
secondary
#78BB83
accent
#D76851
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9E398D

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

Preview Lab → · Contrast checker → · Palette generator →

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