#9E337D#9E337D

#9E337D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.163 H 342.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9E337D
RGBrgb(158, 51, 125)
HSLhsl(319, 51%, 41%)
HSVhsv(319, 68%, 62%)
CMYKcmyk(0%, 67.7%, 20.9%, 38%)
CIE-LABlab(39.78, 51.85, -18.54)
CIE-LCHlch(39.78, 55.07, 340.33°)
OKLaboklab(50.23% 0.1553 -0.0496)
OKLCHoklch(50.23% 0.163 342.3)
XYZxyz(18.9866, 11.1192, 20.5444)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E337D #339E54
analogous
#89339E #9E337D #9E3347
triadic
#9E337D #7D9E33 #337D9E
tetradic
#9E337D #9E8933 #339E54 #33479E
square
#9E337D #9E8933 #339E54 #33479E
split-complementary
#9E337D #479E33 #339E89
monochromatic
#411534 #702458 #9E337D #C44A9F #D378B7

Accessibility & contrast

On white

6.51
#9E337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9E337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E337D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E337D#FFFFFF#000000##FFFFFF
##9E337D1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C537F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#A83453
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e337d;
/* rgb */ color: rgb(158, 51, 125);
/* oklch */ color: oklch(50.2% 0.163 342.3);
Tailwind
colors: {
  custom: {
    50: '#be73a2',
    500: '#9e337d',
    950: '#000000',
  },
}
SCSS
$custom: #9e337d;
$custom-light: #be73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e337d",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 318.505,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50233,
    "c": 0.163,
    "h": 342.3
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#9E337D
secondary
#71BC88
accent
#DB794D
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9E337D

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

Preview Lab → · Contrast checker → · Palette generator →

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