#9F348C#9F348C

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

Color values

HEX#9F348C
RGBrgb(159, 52, 140)
HSLhsl(311, 51%, 41%)
HSVhsv(311, 67%, 62%)
CMYKcmyk(0%, 67.3%, 11.9%, 37.6%)
CIE-LABlab(40.77, 53.98, -26.20)
CIE-LCHlch(40.77, 60.00, 334.11°)
OKLaboklab(51.21% 0.1576 -0.0713)
OKLCHoklch(51.21% 0.173 335.6)
XYZxyz(20.2599, 11.7221, 26.0014)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F348C #349F47
analogous
#7D349F #9F348C #9F3457
triadic
#9F348C #8C9F34 #348C9F
tetradic
#9F348C #9F7D34 #349F47 #34579F
square
#9F348C #9F7D34 #349F47 #34579F
split-complementary
#9F348C #579F34 #349F7D
monochromatic
#43163B #712563 #9F348C #C44CAF #D37AC4

Accessibility & contrast

On white

6.28
#9F348C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F348C
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F348C#FFFFFF#000000##FFFFFF
##9F348C1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#A73B5B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f348c;
/* rgb */ color: rgb(159, 52, 140);
/* oklch */ color: oklch(51.2% 0.173 335.6);
Tailwind
colors: {
  custom: {
    50: '#bf74ae',
    500: '#9f348c',
    950: '#000000',
  },
}
SCSS
$custom: #9f348c;
$custom-light: #bf74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f348c",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 310.654,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.17299,
    "h": 335.6
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F348C

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

Preview Lab → · Contrast checker → · Palette generator →

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