#9D396E#9D396E

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

Color values

HEX#9D396E
RGBrgb(157, 57, 110)
HSLhsl(328, 47%, 42%)
HSVhsv(328, 64%, 62%)
CMYKcmyk(0%, 63.7%, 29.9%, 38.4%)
CIE-LABlab(39.95, 46.93, -8.98)
CIE-LCHlch(39.95, 47.78, 349.17°)
OKLaboklab(50.13% 0.1426 -0.0233)
OKLCHoklch(50.13% 0.145 350.7)
XYZxyz(18.1831, 11.2220, 15.9573)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D396E #399D68
analogous
#9A399D #9D396E #9D393C
triadic
#9D396E #6E9D39 #396E9D
tetradic
#9D396E #9D9A39 #399D68 #393C9D
square
#9D396E #9D9A39 #399D68 #393C9D
split-complementary
#9D396E #3C9D39 #399D9A
monochromatic
#43182F #70294F #9D396E #C0538D #D180AB

Accessibility & contrast

On white

6.47
#9D396E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D396E
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D396E#FFFFFF#000000##FFFFFF
##9D396E1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#63656C
Tritanopia (blue-blind)
#A8344F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d396e;
/* rgb */ color: rgb(157, 57, 110);
/* oklch */ color: oklch(50.1% 0.145 350.7);
Tailwind
colors: {
  custom: {
    50: '#bd7597',
    500: '#9d396e',
    950: '#000000',
  },
}
SCSS
$custom: #9d396e;
$custom-light: #bd7597;
$custom-dark: #000000;
JSON
{
  "hex": "#9d396e",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 328.2,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50133,
    "c": 0.14451,
    "h": 350.7
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

primary
#9D396E
secondary
#78BA97
accent
#D69051
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12090D
muted
#817B7E

Preview Lab

Preview with #9D396E

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

Preview Lab → · Contrast checker → · Palette generator →

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