#9E337A#9E337A

#9E337A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.161 H 343.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9E337A
RGBrgb(158, 51, 122)
HSLhsl(320, 51%, 41%)
HSVhsv(320, 68%, 62%)
CMYKcmyk(0%, 67.7%, 22.8%, 38%)
CIE-LABlab(39.65, 51.43, -16.88)
CIE-LCHlch(39.65, 54.12, 341.83°)
OKLaboklab(50.1% 0.1546 -0.045)
OKLCHoklch(50.1% 0.161 343.8)
XYZxyz(18.7979, 11.0437, 19.5502)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E337A #339E57
analogous
#8C339E #9E337A #9E3344
triadic
#9E337A #7A9E33 #337A9E
tetradic
#9E337A #9E8C33 #339E57 #33449E
square
#9E337A #9E8C33 #339E57 #33449E
split-complementary
#9E337A #449E33 #339E8C
monochromatic
#411533 #702456 #9E337A #C44A9B #D378B5

Accessibility & contrast

On white

6.55
#9E337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E337A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E337A#FFFFFF#000000##FFFFFF
##9E337A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e337a;
/* rgb */ color: rgb(158, 51, 122);
/* oklch */ color: oklch(50.1% 0.161 343.8);
Tailwind
colors: {
  custom: {
    50: '#be73a0',
    500: '#9e337a',
    950: '#000000',
  },
}
SCSS
$custom: #9e337a;
$custom-light: #be73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e337a",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 320.187,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.16104,
    "h": 343.8
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#9E337A
secondary
#71BC8A
accent
#DB7D4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E337A

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

Preview Lab → · Contrast checker → · Palette generator →

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