#9D337F#9D337F

#9D337F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.164 H 340.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9D337F
RGBrgb(157, 51, 127)
HSLhsl(317, 51%, 41%)
HSVhsv(317, 68%, 62%)
CMYKcmyk(0%, 67.5%, 19.1%, 38.4%)
CIE-LABlab(39.70, 51.86, -19.92)
CIE-LCHlch(39.70, 55.56, 338.99°)
OKLaboklab(50.17% 0.1546 -0.0535)
OKLCHoklch(50.17% 0.164 340.9)
XYZxyz(18.9197, 11.0698, 21.2148)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D337F #339D51
analogous
#86339D #9D337F #9D334A
triadic
#9D337F #7F9D33 #337F9D
tetradic
#9D337F #9D8633 #339D51 #334A9D
square
#9D337F #9D8633 #339D51 #334A9D
split-complementary
#9D337F #4A9D33 #339D86
monochromatic
#411534 #6F245A #9D337F #C449A1 #D377B9

Accessibility & contrast

On white

6.53
#9D337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D337F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D337F#FFFFFF#000000##FFFFFF
##9D337F1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d337f;
/* rgb */ color: rgb(157, 51, 127);
/* oklch */ color: oklch(50.2% 0.164 340.9);
Tailwind
colors: {
  custom: {
    50: '#bd73a4',
    500: '#9d337f',
    950: '#000000',
  },
}
SCSS
$custom: #9d337f;
$custom-light: #bd73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d337f",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 316.981,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.16363,
    "h": 340.9
  },
  "luminance": 0.11068
}

Semantic roles & 50–950 ramp

primary
#9D337F
secondary
#70BB86
accent
#DA754D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9D337F

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

Preview Lab → · Contrast checker → · Palette generator →

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