#9F337E#9F337E

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

Color values

HEX#9F337E
RGBrgb(159, 51, 126)
HSLhsl(318, 51%, 41%)
HSVhsv(318, 68%, 62%)
CMYKcmyk(0%, 67.9%, 20.8%, 37.6%)
CIE-LABlab(39.99, 52.27, -18.81)
CIE-LCHlch(39.99, 55.56, 340.20°)
OKLaboklab(50.43% 0.1565 -0.0504)
OKLCHoklch(50.43% 0.164 342.1)
XYZxyz(19.2484, 11.2468, 20.8917)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F337E #339F54
analogous
#8A339F #9F337E #9F3348
triadic
#9F337E #7E9F33 #337E9F
tetradic
#9F337E #9F8A33 #339F54 #33489F
square
#9F337E #9F8A33 #339F54 #33489F
split-complementary
#9F337E #489F33 #339F8A
monochromatic
#421535 #712459 #9F337E #C54A9F #D479B8

Accessibility & contrast

On white

6.46
#9F337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9F337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F337E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F337E#FFFFFF#000000##FFFFFF
##9F337E1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#A93454
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f337e;
/* rgb */ color: rgb(159, 51, 126);
/* oklch */ color: oklch(50.4% 0.164 342.1);
Tailwind
colors: {
  custom: {
    50: '#bf73a3',
    500: '#9f337e',
    950: '#000000',
  },
}
SCSS
$custom: #9f337e;
$custom-light: #bf73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f337e",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 318.333,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50435,
    "c": 0.1644,
    "h": 342.1
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#9F337E
secondary
#71BC88
accent
#DB784D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9F337E

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

Preview Lab → · Contrast checker → · Palette generator →

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