#9D378B#9D378B

#9D378B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.167 H 335.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9D378B
RGBrgb(157, 55, 139)
HSLhsl(311, 48%, 42%)
HSVhsv(311, 65%, 62%)
CMYKcmyk(0%, 65%, 11.5%, 38.4%)
CIE-LABlab(40.84, 52.04, -25.50)
CIE-LCHlch(40.84, 57.96, 333.89°)
OKLaboklab(51.18% 0.1517 -0.0694)
OKLCHoklch(51.18% 0.167 335.4)
XYZxyz(19.9312, 11.7662, 25.6425)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D378B #379D49
analogous
#7C379D #9D378B #9D3758
triadic
#9D378B #8B9D37 #378B9D
tetradic
#9D378B #9D7C37 #379D49 #37589D
square
#9D378B #9D7C37 #379D49 #37589D
split-complementary
#9D378B #589D37 #379D7C
monochromatic
#42173B #702763 #9D378B #C250AD #D17DC3

Accessibility & contrast

On white

6.26
#9D378B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9D378B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D378B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D378B#FFFFFF#000000##FFFFFF
##9D378B1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578E
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#A53D5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d378b;
/* rgb */ color: rgb(157, 55, 139);
/* oklch */ color: oklch(51.2% 0.167 335.4);
Tailwind
colors: {
  custom: {
    50: '#bd75ad',
    500: '#9d378b',
    950: '#000000',
  },
}
SCSS
$custom: #9d378b;
$custom-light: #bd75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d378b",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 310.588,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51182,
    "c": 0.16679,
    "h": 335.4
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#9D378B
secondary
#75BB81
accent
#D86850
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D378B

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

Preview Lab → · Contrast checker → · Palette generator →

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