#9F337D#9F337D

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

Color values

HEX#9F337D
RGBrgb(159, 51, 125)
HSLhsl(319, 51%, 41%)
HSVhsv(319, 68%, 62%)
CMYKcmyk(0%, 67.9%, 21.4%, 37.6%)
CIE-LABlab(39.95, 52.13, -18.26)
CIE-LCHlch(39.95, 55.24, 340.69°)
OKLaboklab(50.39% 0.1563 -0.0489)
OKLCHoklch(50.39% 0.164 342.6)
XYZxyz(19.1842, 11.2211, 20.5536)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F337D #339F55
analogous
#8B339F #9F337D #9F3347
triadic
#9F337D #7D9F33 #337D9F
tetradic
#9F337D #9F8B33 #339F55 #33479F
square
#9F337D #9F8B33 #339F55 #33479F
split-complementary
#9F337D #479F33 #339F8B
monochromatic
#421534 #712459 #9F337D #C54A9E #D479B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F337D#FFFFFF#000000##FFFFFF
##9F337D1.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)
#3C537F
Deuteranopia (green-blind)
#5D657A
Tritanopia (blue-blind)
#A93453
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f337d;
/* rgb */ color: rgb(159, 51, 125);
/* oklch */ color: oklch(50.4% 0.164 342.6);
Tailwind
colors: {
  custom: {
    50: '#bf73a2',
    500: '#9f337d',
    950: '#000000',
  },
}
SCSS
$custom: #9f337d;
$custom-light: #bf73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f337d",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 318.889,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.16373,
    "h": 342.6
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#9F337D
secondary
#71BC89
accent
#DB7A4D
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9F337D

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

Preview Lab → · Contrast checker → · Palette generator →

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