#9D396F#9D396F

#9D396F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.2% C 0.145 H 350.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9D396F
RGBrgb(157, 57, 111)
HSLhsl(328, 47%, 42%)
HSVhsv(328, 64%, 62%)
CMYKcmyk(0%, 63.7%, 29.3%, 38.4%)
CIE-LABlab(39.99, 47.06, -9.55)
CIE-LCHlch(39.99, 48.02, 348.53°)
OKLaboklab(50.17% 0.1429 -0.0248)
OKLCHoklch(50.17% 0.145 350.1)
XYZxyz(18.2378, 11.2439, 16.2457)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D396F #399D67
analogous
#99399D #9D396F #9D393D
triadic
#9D396F #6F9D39 #396F9D
tetradic
#9D396F #9D9939 #399D67 #393D9D
square
#9D396F #9D9939 #399D67 #393D9D
split-complementary
#9D396F #3D9D39 #399D99
monochromatic
#431830 #70294F #9D396F #C0538E #D180AB

Accessibility & contrast

On white

6.46
#9D396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9D396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D396F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D396F#FFFFFF#000000##FFFFFF
##9D396F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465371
Deuteranopia (green-blind)
#62656D
Tritanopia (blue-blind)
#A8354F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d396f;
/* rgb */ color: rgb(157, 57, 111);
/* oklch */ color: oklch(50.2% 0.145 350.1);
Tailwind
colors: {
  custom: {
    50: '#bd7598',
    500: '#9d396f',
    950: '#000000',
  },
}
SCSS
$custom: #9d396f;
$custom-light: #bd7598;
$custom-dark: #000000;
JSON
{
  "hex": "#9d396f",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 327.6,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.14506,
    "h": 350.1
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#9D396F
secondary
#78BA96
accent
#D68F51
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12090D
muted
#817B7E

Preview Lab

Preview with #9D396F

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

Preview Lab → · Contrast checker → · Palette generator →

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