#9E428B#9E428B

#9E428B is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.7% C 0.151 H 336.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9E428B
RGBrgb(158, 66, 139)
HSLhsl(312, 41%, 44%)
HSVhsv(312, 58%, 62%)
CMYKcmyk(0%, 58.2%, 12%, 38%)
CIE-LABlab(42.81, 47.38, -22.44)
CIE-LCHlch(42.81, 52.42, 334.66°)
OKLaboklab(52.65% 0.1382 -0.0608)
OKLCHoklch(52.65% 0.151 336.3)
XYZxyz(20.7092, 13.0312, 25.8456)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E428B #429E55
analogous
#83429E #9E428B #9E425D
triadic
#9E428B #8B9E42 #428B9E
tetradic
#9E428B #9E8342 #429E55 #425D9E
square
#9E428B #9E8342 #429E55 #425D9E
split-complementary
#9E428B #5D9E42 #429E83
monochromatic
#481E3F #733065 #9E428B #BD60AA #CF8CC1

Accessibility & contrast

On white

5.82
#9E428B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9E428B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E428B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E428B#FFFFFF#000000##FFFFFF
##9E428B1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8D
Deuteranopia (green-blind)
#5F6A89
Tritanopia (blue-blind)
#A64660
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e428b;
/* rgb */ color: rgb(158, 66, 139);
/* oklch */ color: oklch(52.7% 0.151 336.3);
Tailwind
colors: {
  custom: {
    50: '#bd7bad',
    500: '#9e428b',
    950: '#000000',
  },
}
SCSS
$custom: #9e428b;
$custom-light: #bd7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9e428b",
  "rgb": {
    "r": 158,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 312.391,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.15096,
    "h": 336.3
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#9E428B
secondary
#82BA8E
accent
#D17057
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9E428B

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

Preview Lab → · Contrast checker → · Palette generator →

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