#9F336D#9F336D

#9F336D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.154 H 351.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F336D
RGBrgb(159, 51, 109)
HSLhsl(328, 51%, 41%)
HSVhsv(328, 68%, 62%)
CMYKcmyk(0%, 67.9%, 31.4%, 37.6%)
CIE-LABlab(39.32, 49.98, -9.27)
CIE-LCHlch(39.32, 50.83, 349.49°)
OKLaboklab(49.72% 0.1524 -0.024)
OKLCHoklch(49.72% 0.154 351)
XYZxyz(18.2431, 10.8447, 15.5975)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F336D #339F65
analogous
#9B339F #9F336D #9F3337
triadic
#9F336D #6D9F33 #336D9F
tetradic
#9F336D #9F9B33 #339F65 #33379F
square
#9F336D #9F9B33 #339F65 #33379F
split-complementary
#9F336D #379F33 #339F9B
monochromatic
#42152D #71244D #9F336D #C54A8C #D479AA

Accessibility & contrast

On white

6.63
#9F336D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F336D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F336D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F336D#FFFFFF#000000##FFFFFF
##9F336D1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506F
Deuteranopia (green-blind)
#62646A
Tritanopia (blue-blind)
#AB2D4B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f336d;
/* rgb */ color: rgb(159, 51, 109);
/* oklch */ color: oklch(49.7% 0.154 351.0);
Tailwind
colors: {
  custom: {
    50: '#bf7396',
    500: '#9f336d',
    950: '#000000',
  },
}
SCSS
$custom: #9f336d;
$custom-light: #bf7396;
$custom-dark: #000000;
JSON
{
  "hex": "#9f336d",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 327.778,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.15424,
    "h": 351
  },
  "luminance": 0.10843
}

Semantic roles & 50–950 ramp

primary
#9F336D
secondary
#71BC94
accent
#DB8F4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F336D

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

Preview Lab → · Contrast checker → · Palette generator →

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