#9E328C#9E328C

#9E328C is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.175 H 335.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9E328C
RGBrgb(158, 50, 140)
HSLhsl(310, 52%, 41%)
HSVhsv(310, 68%, 62%)
CMYKcmyk(0%, 68.4%, 11.4%, 38%)
CIE-LABlab(40.32, 54.51, -26.92)
CIE-LCHlch(40.32, 60.79, 333.72°)
OKLaboklab(50.85% 0.1589 -0.0734)
OKLCHoklch(50.85% 0.175 335.2)
XYZxyz(19.9750, 11.4454, 25.9630)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E328C #329E44
analogous
#7A329E #9E328C #9E3256
triadic
#9E328C #8C9E32 #328C9E
tetradic
#9E328C #9E7A32 #329E44 #32569E
square
#9E328C #9E7A32 #329E44 #32569E
split-complementary
#9E328C #569E32 #329E7A
monochromatic
#41153A #702363 #9E328C #C548B0 #D477C4

Accessibility & contrast

On white

6.39
#9E328C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9E328C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E328C
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E328C#FFFFFF#000000##FFFFFF
##9E328C1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#566589
Tritanopia (blue-blind)
#A6395A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e328c;
/* rgb */ color: rgb(158, 50, 140);
/* oklch */ color: oklch(50.8% 0.175 335.2);
Tailwind
colors: {
  custom: {
    50: '#be73ae',
    500: '#9e328c',
    950: '#000000',
  },
}
SCSS
$custom: #9e328c;
$custom-light: #be73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e328c",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 310,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5085,
    "c": 0.17502,
    "h": 335.2
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#9E328C
secondary
#70BC7C
accent
#DB644C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9E328C

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

Preview Lab → · Contrast checker → · Palette generator →

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