#9E348B#9E348B

#9E348B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.172 H 335.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9E348B
RGBrgb(158, 52, 139)
HSLhsl(311, 50%, 41%)
HSVhsv(311, 67%, 62%)
CMYKcmyk(0%, 67.1%, 12%, 38%)
CIE-LABlab(40.56, 53.56, -25.93)
CIE-LCHlch(40.56, 59.50, 334.16°)
OKLaboklab(51.01% 0.1564 -0.0706)
OKLCHoklch(51.01% 0.172 335.7)
XYZxyz(19.9890, 11.5908, 25.6056)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E348B #349E47
analogous
#7C349E #9E348B #9E3456
triadic
#9E348B #8B9E34 #348B9E
tetradic
#9E348B #9E7C34 #349E47 #34569E
square
#9E348B #9E7C34 #349E47 #34569E
split-complementary
#9E348B #569E34 #349E7C
monochromatic
#42163A #702562 #9E348B #C44BAE #D379C3

Accessibility & contrast

On white

6.33
#9E348B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9E348B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E348B
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E348B#FFFFFF#000000##FFFFFF
##9E348B1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#A63B5B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e348b;
/* rgb */ color: rgb(158, 52, 139);
/* oklch */ color: oklch(51.0% 0.172 335.7);
Tailwind
colors: {
  custom: {
    50: '#be74ad',
    500: '#9e348b',
    950: '#000000',
  },
}
SCSS
$custom: #9e348b;
$custom-light: #be74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9e348b",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 310.755,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.17159,
    "h": 335.7
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#9E348B
secondary
#72BC7F
accent
#DA674E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9E348B

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

Preview Lab → · Contrast checker → · Palette generator →

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