#9F348A#9F348A

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

Color values

HEX#9F348A
RGBrgb(159, 52, 138)
HSLhsl(312, 51%, 41%)
HSVhsv(312, 67%, 62%)
CMYKcmyk(0%, 67.3%, 13.2%, 37.6%)
CIE-LABlab(40.68, 53.66, -25.13)
CIE-LCHlch(40.68, 59.25, 334.91°)
OKLaboklab(51.11% 0.1573 -0.0683)
OKLCHoklch(51.11% 0.172 336.5)
XYZxyz(20.1138, 11.6636, 25.2318)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F348A #349F49
analogous
#7F349F #9F348A #9F3455
triadic
#9F348A #8A9F34 #348A9F
tetradic
#9F348A #9F7F34 #349F49 #34559F
square
#9F348A #9F7F34 #349F49 #34559F
split-complementary
#9F348A #559F34 #349F7F
monochromatic
#43163A #712562 #9F348A #C44CAD #D37AC2

Accessibility & contrast

On white

6.30
#9F348A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9F348A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F348A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F348A#FFFFFF#000000##FFFFFF
##9F348A1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558D
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#A73A5A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f348a;
/* rgb */ color: rgb(159, 52, 138);
/* oklch */ color: oklch(51.1% 0.172 336.5);
Tailwind
colors: {
  custom: {
    50: '#bf74ac',
    500: '#9f348a',
    950: '#000000',
  },
}
SCSS
$custom: #9f348a;
$custom-light: #bf74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f348a",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 311.776,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.1715,
    "h": 336.5
  },
  "luminance": 0.11662
}

Semantic roles & 50–950 ramp

primary
#9F348A
secondary
#73BC81
accent
#DA694E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #9F348A

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

Preview Lab → · Contrast checker → · Palette generator →

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