#9D417B#9D417B

#9D417B is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.7% C 0.140 H 344.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9D417B
RGBrgb(157, 65, 123)
HSLhsl(322, 41%, 44%)
HSVhsv(322, 59%, 62%)
CMYKcmyk(0%, 58.6%, 21.7%, 38.4%)
CIE-LABlab(41.81, 45.04, -14.21)
CIE-LCHlch(41.81, 47.23, 342.49°)
OKLaboklab(51.67% 0.1349 -0.0377)
OKLCHoklch(51.67% 0.14 344.4)
XYZxyz(19.3706, 12.3805, 20.1045)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D417B #419D63
analogous
#91419D #9D417B #9D414D
triadic
#9D417B #7B9D41 #417B9D
tetradic
#9D417B #9D9141 #419D63 #414D9D
square
#9D417B #9D9141 #419D63 #414D9D
split-complementary
#9D417B #4D9D41 #419D91
monochromatic
#461D37 #722F59 #9D417B #BD5F9A #CF8AB5

Accessibility & contrast

On white

6.04
#9D417B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9D417B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D417B
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D417B#FFFFFF#000000##FFFFFF
##9D417B1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#636879
Tritanopia (blue-blind)
#A64058
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d417b;
/* rgb */ color: rgb(157, 65, 123);
/* oklch */ color: oklch(51.7% 0.140 344.4);
Tailwind
colors: {
  custom: {
    50: '#bd7aa1',
    500: '#9d417b',
    950: '#000000',
  },
}
SCSS
$custom: #9d417b;
$custom-light: #bd7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d417b",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 322.174,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.14004,
    "h": 344.4
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#9D417B
secondary
#80B995
accent
#D18457
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #9D417B

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

Preview Lab → · Contrast checker → · Palette generator →

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