#9E397B#9E397B

#9E397B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.153 H 343.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9E397B
RGBrgb(158, 57, 123)
HSLhsl(321, 47%, 42%)
HSVhsv(321, 64%, 62%)
CMYKcmyk(0%, 63.9%, 22.2%, 38%)
CIE-LABlab(40.62, 49.03, -16.02)
CIE-LCHlch(40.62, 51.58, 341.91°)
OKLaboklab(50.82% 0.1471 -0.0427)
OKLCHoklch(50.82% 0.153 343.8)
XYZxyz(19.1394, 11.6272, 19.9713)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E397B #399E5C
analogous
#8F399E #9E397B #9E3949
triadic
#9E397B #7B9E39 #397B9E
tetradic
#9E397B #9E8F39 #399E5C #39499E
square
#9E397B #9E8F39 #399E5C #39499E
split-complementary
#9E397B #499E39 #399E8F
monochromatic
#441935 #712958 #9E397B #C1539B #D180B5

Accessibility & contrast

On white

6.32
#9E397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9E397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E397B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E397B#FFFFFF#000000##FFFFFF
##9E397B1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557D
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#A83955
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e397b;
/* rgb */ color: rgb(158, 57, 123);
/* oklch */ color: oklch(50.8% 0.153 343.8);
Tailwind
colors: {
  custom: {
    50: '#be76a1',
    500: '#9e397b',
    950: '#000000',
  },
}
SCSS
$custom: #9e397b;
$custom-light: #be76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e397b",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 320.792,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.15316,
    "h": 343.8
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#9E397B
secondary
#78BB8F
accent
#D77F51
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #9E397B

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

Preview Lab → · Contrast checker → · Palette generator →

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