#9D397C#9D397C

#9D397C is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.7% C 0.153 H 342.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9D397C
RGBrgb(157, 57, 124)
HSLhsl(320, 47%, 42%)
HSVhsv(320, 64%, 62%)
CMYKcmyk(0%, 63.7%, 21%, 38.4%)
CIE-LABlab(40.49, 48.88, -16.84)
CIE-LCHlch(40.49, 51.70, 340.99°)
OKLaboklab(50.71% 0.1463 -0.045)
OKLCHoklch(50.71% 0.153 342.9)
XYZxyz(19.0064, 11.5513, 20.2935)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D397C #399D5A
analogous
#8C399D #9D397C #9D394A
triadic
#9D397C #7C9D39 #397C9D
tetradic
#9D397C #9D8C39 #399D5A #394A9D
square
#9D397C #9D8C39 #399D5A #394A9D
split-complementary
#9D397C #4A9D39 #399D8C
monochromatic
#431835 #702959 #9D397C #C0539C #D180B6

Accessibility & contrast

On white

6.34
#9D397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9D397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D397C
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D397C#FFFFFF#000000##FFFFFF
##9D397C1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#5E667A
Tritanopia (blue-blind)
#A73955
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d397c;
/* rgb */ color: rgb(157, 57, 124);
/* oklch */ color: oklch(50.7% 0.153 342.9);
Tailwind
colors: {
  custom: {
    50: '#bd76a2',
    500: '#9d397c',
    950: '#000000',
  },
}
SCSS
$custom: #9d397c;
$custom-light: #bd76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d397c",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 319.8,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.15304,
    "h": 342.9
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#9D397C
secondary
#78BA8E
accent
#D67D51
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #9D397C

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

Preview Lab → · Contrast checker → · Palette generator →

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