#9F3479#9F3479

#9F3479 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.3% C 0.160 H 344.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9F3479
RGBrgb(159, 52, 121)
HSLhsl(321, 51%, 41%)
HSVhsv(321, 67%, 62%)
CMYKcmyk(0%, 67.3%, 23.9%, 37.6%)
CIE-LABlab(39.93, 51.16, -15.82)
CIE-LCHlch(39.93, 53.55, 342.82°)
OKLaboklab(50.32% 0.1542 -0.042)
OKLCHoklch(50.32% 0.16 344.7)
XYZxyz(18.9779, 11.2093, 19.2496)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3479 #349F5A
analogous
#90349F #9F3479 #9F3444
triadic
#9F3479 #799F34 #34799F
tetradic
#9F3479 #9F9034 #349F5A #34449F
square
#9F3479 #9F9034 #349F5A #34449F
split-complementary
#9F3479 #449F34 #349F90
monochromatic
#431633 #712556 #9F3479 #C44C9A #D37AB4

Accessibility & contrast

On white

6.48
#9F3479 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9F3479 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3479
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3479#FFFFFF#000000##FFFFFF
##9F34791.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537B
Deuteranopia (green-blind)
#5F6576
Tritanopia (blue-blind)
#A93352
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f3479;
/* rgb */ color: rgb(159, 52, 121);
/* oklch */ color: oklch(50.3% 0.160 344.7);
Tailwind
colors: {
  custom: {
    50: '#bf739f',
    500: '#9f3479',
    950: '#000000',
  },
}
SCSS
$custom: #9f3479;
$custom-light: #bf739f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3479",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 321.308,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.15979,
    "h": 344.7
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#9F3479
secondary
#73BC8D
accent
#DA804E
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #9F3479

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

Preview Lab → · Contrast checker → · Palette generator →

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