#9E337E#9E337E

#9E337E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.164 H 341.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9E337E
RGBrgb(158, 51, 126)
HSLhsl(318, 51%, 41%)
HSVhsv(318, 68%, 62%)
CMYKcmyk(0%, 67.7%, 20.3%, 38%)
CIE-LABlab(39.82, 52.00, -19.09)
CIE-LCHlch(39.82, 55.39, 339.84°)
OKLaboklab(50.28% 0.1555 -0.0512)
OKLCHoklch(50.28% 0.164 341.8)
XYZxyz(19.0508, 11.1449, 20.8825)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E337E #339E53
analogous
#88339E #9E337E #9E3348
triadic
#9E337E #7E9E33 #337E9E
tetradic
#9E337E #9E8833 #339E53 #33489E
square
#9E337E #9E8833 #339E53 #33489E
split-complementary
#9E337E #489E33 #339E88
monochromatic
#411534 #702459 #9E337E #C44AA0 #D378B8

Accessibility & contrast

On white

6.50
#9E337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9E337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E337E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E337E#FFFFFF#000000##FFFFFF
##9E337E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5380
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#A83454
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e337e;
/* rgb */ color: rgb(158, 51, 126);
/* oklch */ color: oklch(50.3% 0.164 341.8);
Tailwind
colors: {
  custom: {
    50: '#be73a3',
    500: '#9e337e',
    950: '#000000',
  },
}
SCSS
$custom: #9e337e;
$custom-light: #be73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e337e",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 317.944,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.16366,
    "h": 341.8
  },
  "luminance": 0.11143
}

Semantic roles & 50–950 ramp

primary
#9E337E
secondary
#71BC87
accent
#DB774D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9E337E

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

Preview Lab → · Contrast checker → · Palette generator →

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