#9D396D#9D396D

#9D396D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.1% C 0.144 H 351.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9D396D
RGBrgb(157, 57, 109)
HSLhsl(329, 47%, 42%)
HSVhsv(329, 64%, 62%)
CMYKcmyk(0%, 63.7%, 30.6%, 38.4%)
CIE-LABlab(39.92, 46.80, -8.41)
CIE-LCHlch(39.92, 47.55, 349.82°)
OKLaboklab(50.09% 0.1423 -0.0218)
OKLCHoklch(50.09% 0.144 351.3)
XYZxyz(18.1289, 11.2004, 15.6722)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D396D #399D69
analogous
#9B399D #9D396D #9D393B
triadic
#9D396D #6D9D39 #396D9D
tetradic
#9D396D #9D9B39 #399D69 #393B9D
square
#9D396D #9D9B39 #399D69 #393B9D
split-complementary
#9D396D #3B9D39 #399D9B
monochromatic
#43182F #70294E #9D396D #C0538C #D180AA

Accessibility & contrast

On white

6.48
#9D396D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D396D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D396D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D396D#FFFFFF#000000##FFFFFF
##9D396D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d396d;
/* rgb */ color: rgb(157, 57, 109);
/* oklch */ color: oklch(50.1% 0.144 351.3);
Tailwind
colors: {
  custom: {
    50: '#bd7596',
    500: '#9d396d',
    950: '#000000',
  },
}
SCSS
$custom: #9d396d;
$custom-light: #bd7596;
$custom-dark: #000000;
JSON
{
  "hex": "#9d396d",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 328.8,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.14398,
    "h": 351.3
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#9D396D
secondary
#78BA98
accent
#D69151
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12090D
muted
#817B7E

Preview Lab

Preview with #9D396D

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

Preview Lab → · Contrast checker → · Palette generator →

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