#9E337B#9E337B

#9E337B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.1% C 0.162 H 343.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9E337B
RGBrgb(158, 51, 123)
HSLhsl(320, 51%, 41%)
HSVhsv(320, 68%, 62%)
CMYKcmyk(0%, 67.7%, 22.2%, 38%)
CIE-LABlab(39.70, 51.57, -17.43)
CIE-LCHlch(39.70, 54.43, 341.32°)
OKLaboklab(50.14% 0.1548 -0.0465)
OKLCHoklch(50.14% 0.162 343.3)
XYZxyz(18.8601, 11.0687, 19.8782)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E337B #339E56
analogous
#8B339E #9E337B #9E3345
triadic
#9E337B #7B9E33 #337B9E
tetradic
#9E337B #9E8B33 #339E56 #33459E
square
#9E337B #9E8B33 #339E56 #33459E
split-complementary
#9E337B #459E33 #339E8B
monochromatic
#411533 #702457 #9E337B #C44A9C #D378B6

Accessibility & contrast

On white

6.54
#9E337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9E337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E337B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E337B#FFFFFF#000000##FFFFFF
##9E337B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#A83352
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e337b;
/* rgb */ color: rgb(158, 51, 123);
/* oklch */ color: oklch(50.1% 0.162 343.3);
Tailwind
colors: {
  custom: {
    50: '#be73a1',
    500: '#9e337b',
    950: '#000000',
  },
}
SCSS
$custom: #9e337b;
$custom-light: #be73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e337b",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 319.626,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.16169,
    "h": 343.3
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#9E337B
secondary
#71BC89
accent
#DB7B4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #9E337B

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

Preview Lab → · Contrast checker → · Palette generator →

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