#9F348B#9F348B

#9F348B is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.172 H 336.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9F348B
RGBrgb(159, 52, 139)
HSLhsl(311, 51%, 41%)
HSVhsv(311, 67%, 62%)
CMYKcmyk(0%, 67.3%, 12.6%, 37.6%)
CIE-LABlab(40.72, 53.82, -25.66)
CIE-LCHlch(40.72, 59.63, 334.50°)
OKLaboklab(51.16% 0.1575 -0.0698)
OKLCHoklch(51.16% 0.172 336.1)
XYZxyz(20.1865, 11.6927, 25.6148)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F348B #349F48
analogous
#7E349F #9F348B #9F3456
triadic
#9F348B #8B9F34 #348B9F
tetradic
#9F348B #9F7E34 #349F48 #34569F
square
#9F348B #9F7E34 #349F48 #34569F
split-complementary
#9F348B #569F34 #349F7E
monochromatic
#43163A #712563 #9F348B #C44CAE #D37AC3

Accessibility & contrast

On white

6.29
#9F348B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9F348B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F348B
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F348B#FFFFFF#000000##FFFFFF
##9F348B1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#A73A5B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f348b;
/* rgb */ color: rgb(159, 52, 139);
/* oklch */ color: oklch(51.2% 0.172 336.1);
Tailwind
colors: {
  custom: {
    50: '#bf74ad',
    500: '#9f348b',
    950: '#000000',
  },
}
SCSS
$custom: #9f348b;
$custom-light: #bf74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9f348b",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 311.215,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.17225,
    "h": 336.1
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#9F348B
secondary
#73BC80
accent
#DA684E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #9F348B

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

Preview Lab → · Contrast checker → · Palette generator →

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