#9E397F#9E397F

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

Color values

HEX#9E397F
RGBrgb(158, 57, 127)
HSLhsl(318, 47%, 42%)
HSVhsv(318, 64%, 62%)
CMYKcmyk(0%, 63.9%, 19.6%, 38%)
CIE-LABlab(40.78, 49.61, -18.23)
CIE-LCHlch(40.78, 52.86, 339.82°)
OKLaboklab(51% 0.148 -0.0488)
OKLCHoklch(51% 0.156 341.7)
XYZxyz(19.3949, 11.7294, 21.3171)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E397F #399E58
analogous
#8B399E #9E397F #9E394C
triadic
#9E397F #7F9E39 #397F9E
tetradic
#9E397F #9E8B39 #399E58 #394C9E
square
#9E397F #9E8B39 #399E58 #394C9E
split-complementary
#9E397F #4C9E39 #399E8B
monochromatic
#441937 #71295B #9E397F #C1539F #D180B8

Accessibility & contrast

On white

6.28
#9E397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9E397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E397F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E397F#FFFFFF#000000##FFFFFF
##9E397F1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405681
Deuteranopia (green-blind)
#5E667D
Tritanopia (blue-blind)
#A73A57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e397f;
/* rgb */ color: rgb(158, 57, 127);
/* oklch */ color: oklch(51.0% 0.156 341.7);
Tailwind
colors: {
  custom: {
    50: '#be76a4',
    500: '#9e397f',
    950: '#000000',
  },
}
SCSS
$custom: #9e397f;
$custom-light: #be76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e397f",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 318.416,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50995,
    "c": 0.15585,
    "h": 341.7
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#9E397F
secondary
#78BB8C
accent
#D77A51
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9E397F

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

Preview Lab → · Contrast checker → · Palette generator →

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