#9F337B#9F337B

#9F337B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.3% C 0.162 H 343.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9F337B
RGBrgb(159, 51, 123)
HSLhsl(320, 51%, 41%)
HSVhsv(320, 68%, 62%)
CMYKcmyk(0%, 67.9%, 22.6%, 37.6%)
CIE-LABlab(39.87, 51.85, -17.15)
CIE-LCHlch(39.87, 54.61, 341.69°)
OKLaboklab(50.3% 0.1558 -0.0458)
OKLCHoklch(50.3% 0.162 343.6)
XYZxyz(19.0577, 11.1705, 19.8875)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F337B #339F57
analogous
#8D339F #9F337B #9F3345
triadic
#9F337B #7B9F33 #337B9F
tetradic
#9F337B #9F8D33 #339F57 #33459F
square
#9F337B #9F8D33 #339F57 #33459F
split-complementary
#9F337B #459F33 #339F8D
monochromatic
#421533 #712457 #9F337B #C54A9C #D479B5

Accessibility & contrast

On white

6.49
#9F337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F337B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F337B#FFFFFF#000000##FFFFFF
##9F337B1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#A93352
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f337b;
/* rgb */ color: rgb(159, 51, 123);
/* oklch */ color: oklch(50.3% 0.162 343.6);
Tailwind
colors: {
  custom: {
    50: '#bf73a1',
    500: '#9f337b',
    950: '#000000',
  },
}
SCSS
$custom: #9f337b;
$custom-light: #bf73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f337b",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 320,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50301,
    "c": 0.16243,
    "h": 343.6
  },
  "luminance": 0.11169
}

Semantic roles & 50–950 ramp

primary
#9F337B
secondary
#71BC8A
accent
#DB7C4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #9F337B

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

Preview Lab → · Contrast checker → · Palette generator →

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