#9F417A#9F417A

#9F417A is a mid, vivid pink. Relative luminance 0.126; OKLCH L 51.9% C 0.141 H 345.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9F417A
RGBrgb(159, 65, 122)
HSLhsl(324, 42%, 44%)
HSVhsv(324, 59%, 62%)
CMYKcmyk(0%, 59.1%, 23.3%, 37.6%)
CIE-LABlab(42.09, 45.52, -13.14)
CIE-LCHlch(42.09, 47.38, 343.89°)
OKLaboklab(51.93% 0.1368 -0.0348)
OKLCHoklch(51.93% 0.141 345.7)
XYZxyz(19.7018, 12.5585, 19.7950)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F417A #419F66
analogous
#95419F #9F417A #9F414B
triadic
#9F417A #7A9F41 #417A9F
tetradic
#9F417A #9F9541 #419F66 #414B9F
square
#9F417A #9F9541 #419F66 #414B9F
split-complementary
#9F417A #4B9F41 #419F95
monochromatic
#481D37 #742F59 #9F417A #BE5F99 #D08BB5

Accessibility & contrast

On white

5.98
#9F417A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9F417A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F417A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F417A#FFFFFF#000000##FFFFFF
##9F417A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597C
Deuteranopia (green-blind)
#646978
Tritanopia (blue-blind)
#A94058
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f417a;
/* rgb */ color: rgb(159, 65, 122);
/* oklch */ color: oklch(51.9% 0.141 345.7);
Tailwind
colors: {
  custom: {
    50: '#be7aa0',
    500: '#9f417a',
    950: '#000000',
  },
}
SCSS
$custom: #9f417a;
$custom-light: #be7aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f417a",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 323.617,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51925,
    "c": 0.14112,
    "h": 345.7
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#9F417A
secondary
#81BA98
accent
#D28756
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #9F417A

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

Preview Lab → · Contrast checker → · Palette generator →

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