#9F417E#9F417E

#9F417E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.1% C 0.144 H 343.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9F417E
RGBrgb(159, 65, 126)
HSLhsl(321, 42%, 44%)
HSVhsv(321, 59%, 62%)
CMYKcmyk(0%, 59.1%, 20.8%, 37.6%)
CIE-LABlab(42.25, 46.11, -15.36)
CIE-LCHlch(42.25, 48.60, 341.57°)
OKLaboklab(52.09% 0.1378 -0.0409)
OKLCHoklch(52.09% 0.144 343.5)
XYZxyz(19.9548, 12.6596, 21.1272)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F417E #419F62
analogous
#91419F #9F417E #9F414F
triadic
#9F417E #7E9F41 #417E9F
tetradic
#9F417E #9F9141 #419F62 #414F9F
square
#9F417E #9F9141 #419F62 #414F9F
split-complementary
#9F417E #4F9F41 #419F91
monochromatic
#481D39 #742F5C #9F417E #BE5F9D #D08BB7

Accessibility & contrast

On white

5.95
#9F417E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9F417E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F417E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F417E#FFFFFF#000000##FFFFFF
##9F417E1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A80
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#A8415A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f417e;
/* rgb */ color: rgb(159, 65, 126);
/* oklch */ color: oklch(52.1% 0.144 343.5);
Tailwind
colors: {
  custom: {
    50: '#be7ba3',
    500: '#9f417e',
    950: '#000000',
  },
}
SCSS
$custom: #9f417e;
$custom-light: #be7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f417e",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 321.064,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.14375,
    "h": 343.5
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#9F417E
secondary
#81BA95
accent
#D28156
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #9F417E

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

Preview Lab → · Contrast checker → · Palette generator →

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