#9D397D#9D397D

#9D397D is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.154 H 342.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9D397D
RGBrgb(157, 57, 125)
HSLhsl(319, 47%, 42%)
HSVhsv(319, 64%, 62%)
CMYKcmyk(0%, 63.7%, 20.4%, 38.4%)
CIE-LABlab(40.54, 49.02, -17.39)
CIE-LCHlch(40.54, 52.02, 340.47°)
OKLaboklab(50.75% 0.1465 -0.0465)
OKLCHoklch(50.75% 0.154 342.4)
XYZxyz(19.0699, 11.5768, 20.6283)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D397D #399D59
analogous
#8B399D #9D397D #9D394B
triadic
#9D397D #7D9D39 #397D9D
tetradic
#9D397D #9D8B39 #399D59 #394B9D
square
#9D397D #9D8B39 #399D59 #394B9D
split-complementary
#9D397D #4B9D39 #399D8B
monochromatic
#431836 #702959 #9D397D #C0539D #D180B7

Accessibility & contrast

On white

6.33
#9D397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9D397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D397D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D397D#FFFFFF#000000##FFFFFF
##9D397D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#5E667B
Tritanopia (blue-blind)
#A63A56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d397d;
/* rgb */ color: rgb(157, 57, 125);
/* oklch */ color: oklch(50.8% 0.154 342.4);
Tailwind
colors: {
  custom: {
    50: '#bd76a2',
    500: '#9d397d',
    950: '#000000',
  },
}
SCSS
$custom: #9d397d;
$custom-light: #bd76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d397d",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 319.2,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.15371,
    "h": 342.4
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#9D397D
secondary
#78BA8D
accent
#D67C51
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9D397D

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

Preview Lab → · Contrast checker → · Palette generator →

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