#9F417B#9F417B

#9F417B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.0% C 0.142 H 345.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9F417B
RGBrgb(159, 65, 123)
HSLhsl(323, 42%, 44%)
HSVhsv(323, 59%, 62%)
CMYKcmyk(0%, 59.1%, 22.6%, 37.6%)
CIE-LABlab(42.13, 45.67, -13.70)
CIE-LCHlch(42.13, 47.68, 343.30°)
OKLaboklab(51.97% 0.137 -0.0363)
OKLCHoklch(51.97% 0.142 345.2)
XYZxyz(19.7641, 12.5834, 20.1230)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F417B #419F65
analogous
#94419F #9F417B #9F414C
triadic
#9F417B #7B9F41 #417B9F
tetradic
#9F417B #9F9441 #419F65 #414C9F
square
#9F417B #9F9441 #419F65 #414C9F
split-complementary
#9F417B #4C9F41 #419F94
monochromatic
#481D38 #742F59 #9F417B #BE5F9A #D08BB5

Accessibility & contrast

On white

5.97
#9F417B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9F417B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F417B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F417B#FFFFFF#000000##FFFFFF
##9F417B1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f417b;
/* rgb */ color: rgb(159, 65, 123);
/* oklch */ color: oklch(52.0% 0.142 345.2);
Tailwind
colors: {
  custom: {
    50: '#be7aa1',
    500: '#9f417b',
    950: '#000000',
  },
}
SCSS
$custom: #9f417b;
$custom-light: #be7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f417b",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 322.979,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51966,
    "c": 0.14177,
    "h": 345.2
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#9F417B
secondary
#81BA97
accent
#D28556
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#120A0F
muted
#817C7E

Preview Lab

Preview with #9F417B

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

Preview Lab → · Contrast checker → · Palette generator →

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