#9F337A#9F337A

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

Color values

HEX#9F337A
RGBrgb(159, 51, 122)
HSLhsl(321, 51%, 41%)
HSVhsv(321, 68%, 62%)
CMYKcmyk(0%, 67.9%, 23.3%, 37.6%)
CIE-LABlab(39.82, 51.71, -16.60)
CIE-LCHlch(39.82, 54.31, 342.20°)
OKLaboklab(50.26% 0.1556 -0.0442)
OKLCHoklch(50.26% 0.162 344.1)
XYZxyz(18.9954, 11.1456, 19.5595)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F337A #339F58
analogous
#8E339F #9F337A #9F3344
triadic
#9F337A #7A9F33 #337A9F
tetradic
#9F337A #9F8E33 #339F58 #33449F
square
#9F337A #9F8E33 #339F58 #33449F
split-complementary
#9F337A #449F33 #339F8E
monochromatic
#421533 #712456 #9F337A #C54A9B #D479B5

Accessibility & contrast

On white

6.50
#9F337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F337A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F337A#FFFFFF#000000##FFFFFF
##9F337A1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#5E6477
Tritanopia (blue-blind)
#A93252
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f337a;
/* rgb */ color: rgb(159, 51, 122);
/* oklch */ color: oklch(50.3% 0.162 344.1);
Tailwind
colors: {
  custom: {
    50: '#bf73a0',
    500: '#9f337a',
    950: '#000000',
  },
}
SCSS
$custom: #9f337a;
$custom-light: #bf73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f337a",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 320.556,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50257,
    "c": 0.1618,
    "h": 344.1
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#9F337A
secondary
#71BC8B
accent
#DB7E4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #9F337A

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

Preview Lab → · Contrast checker → · Palette generator →

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