#9D337D#9D337D

#9D337D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.162 H 341.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9D337D
RGBrgb(157, 51, 125)
HSLhsl(318, 51%, 41%)
HSVhsv(318, 68%, 62%)
CMYKcmyk(0%, 67.5%, 20.4%, 38.4%)
CIE-LABlab(39.61, 51.57, -18.81)
CIE-LCHlch(39.61, 54.90, 339.96°)
OKLaboklab(50.08% 0.1542 -0.0504)
OKLCHoklch(50.08% 0.162 341.9)
XYZxyz(18.7907, 11.0182, 20.5352)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D337D #339D53
analogous
#88339D #9D337D #9D3348
triadic
#9D337D #7D9D33 #337D9D
tetradic
#9D337D #9D8833 #339D53 #33489D
square
#9D337D #9D8833 #339D53 #33489D
split-complementary
#9D337D #489D33 #339D88
monochromatic
#411533 #6F2458 #9D337D #C4499F #D377B7

Accessibility & contrast

On white

6.56
#9D337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9D337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D337D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D337D#FFFFFF#000000##FFFFFF
##9D337D1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#5B647A
Tritanopia (blue-blind)
#A73453
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d337d;
/* rgb */ color: rgb(157, 51, 125);
/* oklch */ color: oklch(50.1% 0.162 341.9);
Tailwind
colors: {
  custom: {
    50: '#bd73a2',
    500: '#9d337d',
    950: '#000000',
  },
}
SCSS
$custom: #9d337d;
$custom-light: #bd73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d337d",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 318.113,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.16227,
    "h": 341.9
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#9D337D
secondary
#70BB87
accent
#DA784D
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D337D

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

Preview Lab → · Contrast checker → · Palette generator →

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