#9E396D#9E396D

#9E396D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.3% C 0.145 H 351.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9E396D
RGBrgb(158, 57, 109)
HSLhsl(329, 47%, 42%)
HSVhsv(329, 64%, 62%)
CMYKcmyk(0%, 63.9%, 31%, 38%)
CIE-LABlab(40.08, 47.11, -8.14)
CIE-LCHlch(40.08, 47.81, 350.20°)
OKLaboklab(50.25% 0.1434 -0.021)
OKLCHoklch(50.25% 0.145 351.7)
XYZxyz(18.3249, 11.3014, 15.6814)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E396D #399E6A
analogous
#9D399E #9E396D #9E393A
triadic
#9E396D #6D9E39 #396D9E
tetradic
#9E396D #9E9D39 #399E6A #393A9E
square
#9E396D #9E9D39 #399E6A #393A9E
split-complementary
#9E396D #3A9E39 #399E9D
monochromatic
#44192F #71294E #9E396D #C1538C #D180AA

Accessibility & contrast

On white

6.44
#9E396D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9E396D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E396D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E396D#FFFFFF#000000##FFFFFF
##9E396D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536F
Deuteranopia (green-blind)
#63656B
Tritanopia (blue-blind)
#A9344E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e396d;
/* rgb */ color: rgb(158, 57, 109);
/* oklch */ color: oklch(50.3% 0.145 351.7);
Tailwind
colors: {
  custom: {
    50: '#be7696',
    500: '#9e396d',
    950: '#000000',
  },
}
SCSS
$custom: #9e396d;
$custom-light: #be7696;
$custom-dark: #000000;
JSON
{
  "hex": "#9e396d",
  "rgb": {
    "r": 158,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 329.109,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50251,
    "c": 0.14488,
    "h": 351.7
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#9E396D
secondary
#78BB98
accent
#D79251
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090D
muted
#827B7E

Preview Lab

Preview with #9E396D

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

Preview Lab → · Contrast checker → · Palette generator →

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