#9D396B#9D396B

#9D396B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.0% C 0.143 H 352.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9D396B
RGBrgb(157, 57, 107)
HSLhsl(330, 47%, 42%)
HSVhsv(330, 64%, 62%)
CMYKcmyk(0%, 63.7%, 31.8%, 38.4%)
CIE-LABlab(39.84, 46.54, -7.26)
CIE-LCHlch(39.84, 47.10, 351.13°)
OKLaboklab(50.02% 0.1417 -0.0187)
OKLCHoklch(50.02% 0.143 352.5)
XYZxyz(18.0225, 11.1578, 15.1116)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D396B #399D6B
analogous
#9D399D #9D396B #9D3939
triadic
#9D396B #6B9D39 #396B9D
tetradic
#9D396B #9D9D39 #399D6B #39399D
square
#9D396B #9D9D39 #399D6B #39399D
split-complementary
#9D396B #399D39 #399D9D
monochromatic
#43182E #70294C #9D396B #C0538A #D180A8

Accessibility & contrast

On white

6.50
#9D396B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9D396B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D396B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D396B#FFFFFF#000000##FFFFFF
##9D396B1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48526C
Deuteranopia (green-blind)
#636569
Tritanopia (blue-blind)
#A8334D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d396b;
/* rgb */ color: rgb(157, 57, 107);
/* oklch */ color: oklch(50.0% 0.143 352.5);
Tailwind
colors: {
  custom: {
    50: '#bd7595',
    500: '#9d396b',
    950: '#000000',
  },
}
SCSS
$custom: #9d396b;
$custom-light: #bd7595;
$custom-dark: #000000;
JSON
{
  "hex": "#9d396b",
  "rgb": {
    "r": 157,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 330,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.14295,
    "h": 352.5
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#9D396B
secondary
#78BA99
accent
#D69451
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#12090D
muted
#817B7E

Preview Lab

Preview with #9D396B

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

Preview Lab → · Contrast checker → · Palette generator →

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