#9D337E#9D337E

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

Color values

HEX#9D337E
RGBrgb(157, 51, 126)
HSLhsl(318, 51%, 41%)
HSVhsv(318, 68%, 62%)
CMYKcmyk(0%, 67.5%, 19.7%, 38.4%)
CIE-LABlab(39.65, 51.72, -19.36)
CIE-LCHlch(39.65, 55.22, 339.47°)
OKLaboklab(50.12% 0.1544 -0.052)
OKLCHoklch(50.12% 0.163 341.4)
XYZxyz(18.8549, 11.0439, 20.8733)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D337E #339D52
analogous
#87339D #9D337E #9D3349
triadic
#9D337E #7E9D33 #337E9D
tetradic
#9D337E #9D8733 #339D52 #33499D
square
#9D337E #9D8733 #339D52 #33499D
split-complementary
#9D337E #499D33 #339D87
monochromatic
#411534 #6F2459 #9D337E #C449A0 #D377B8

Accessibility & contrast

On white

6.55
#9D337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9D337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D337E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D337E#FFFFFF#000000##FFFFFF
##9D337E1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5280
Deuteranopia (green-blind)
#5B647B
Tritanopia (blue-blind)
#A63554
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d337e;
/* rgb */ color: rgb(157, 51, 126);
/* oklch */ color: oklch(50.1% 0.163 341.4);
Tailwind
colors: {
  custom: {
    50: '#bd73a3',
    500: '#9d337e',
    950: '#000000',
  },
}
SCSS
$custom: #9d337e;
$custom-light: #bd73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d337e",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 317.547,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50122,
    "c": 0.16294,
    "h": 341.4
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#9D337E
secondary
#70BB86
accent
#DA774D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D337E

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

Preview Lab → · Contrast checker → · Palette generator →

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