#9F337F#9F337F

#9F337F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.165 H 341.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9F337F
RGBrgb(159, 51, 127)
HSLhsl(318, 51%, 41%)
HSVhsv(318, 68%, 62%)
CMYKcmyk(0%, 67.9%, 20.1%, 37.6%)
CIE-LABlab(40.04, 52.42, -19.37)
CIE-LCHlch(40.04, 55.88, 339.72°)
OKLaboklab(50.48% 0.1567 -0.052)
OKLCHoklch(50.48% 0.165 341.7)
XYZxyz(19.3132, 11.2727, 21.2333)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F337F #339F53
analogous
#89339F #9F337F #9F3349
triadic
#9F337F #7F9F33 #337F9F
tetradic
#9F337F #9F8933 #339F53 #33499F
square
#9F337F #9F8933 #339F53 #33499F
split-complementary
#9F337F #499F33 #339F89
monochromatic
#421535 #71245A #9F337F #C54AA1 #D479B9

Accessibility & contrast

On white

6.45
#9F337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F337F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F337F#FFFFFF#000000##FFFFFF
##9F337F1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f337f;
/* rgb */ color: rgb(159, 51, 127);
/* oklch */ color: oklch(50.5% 0.165 341.7);
Tailwind
colors: {
  custom: {
    50: '#bf73a4',
    500: '#9f337f',
    950: '#000000',
  },
}
SCSS
$custom: #9f337f;
$custom-light: #bf73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f337f",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 317.778,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.16507,
    "h": 341.7
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F337F

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

Preview Lab → · Contrast checker → · Palette generator →

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