#9F348D#9F348D

#9F348D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.174 H 335.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9F348D
RGBrgb(159, 52, 141)
HSLhsl(310, 51%, 41%)
HSVhsv(310, 67%, 62%)
CMYKcmyk(0%, 67.3%, 11.3%, 37.6%)
CIE-LABlab(40.82, 54.13, -26.74)
CIE-LCHlch(40.82, 60.38, 333.72°)
OKLaboklab(51.26% 0.1577 -0.0729)
OKLCHoklch(51.26% 0.174 335.2)
XYZxyz(20.3340, 11.7517, 26.3915)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F348D #349F46
analogous
#7C349F #9F348D #9F3458
triadic
#9F348D #8D9F34 #348D9F
tetradic
#9F348D #9F7C34 #349F46 #34589F
square
#9F348D #9F7C34 #349F46 #34589F
split-complementary
#9F348D #589F34 #349F7C
monochromatic
#43163B #712564 #9F348D #C44CB0 #D37AC4

Accessibility & contrast

On white

6.27
#9F348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9F348D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F348D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F348D#FFFFFF#000000##FFFFFF
##9F348D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#A73B5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f348d;
/* rgb */ color: rgb(159, 52, 141);
/* oklch */ color: oklch(51.3% 0.174 335.2);
Tailwind
colors: {
  custom: {
    50: '#bf74ae',
    500: '#9f348d',
    950: '#000000',
  },
}
SCSS
$custom: #9f348d;
$custom-light: #bf74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f348d",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 310.093,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5126,
    "c": 0.17375,
    "h": 335.2
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#9F348D
secondary
#73BC7F
accent
#DA654E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #9F348D

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

Preview Lab → · Contrast checker → · Palette generator →

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