#9F417D#9F417D

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

Color values

HEX#9F417D
RGBrgb(159, 65, 125)
HSLhsl(322, 42%, 44%)
HSVhsv(322, 59%, 62%)
CMYKcmyk(0%, 59.1%, 21.4%, 37.6%)
CIE-LABlab(42.21, 45.96, -14.81)
CIE-LCHlch(42.21, 48.29, 342.14°)
OKLaboklab(52.05% 0.1376 -0.0394)
OKLCHoklch(52.05% 0.143 344)
XYZxyz(19.8906, 12.6340, 20.7891)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F417D #419F63
analogous
#92419F #9F417D #9F414E
triadic
#9F417D #7D9F41 #417D9F
tetradic
#9F417D #9F9241 #419F63 #414E9F
square
#9F417D #9F9241 #419F63 #414E9F
split-complementary
#9F417D #4E9F41 #419F92
monochromatic
#481D39 #742F5B #9F417D #BE5F9C #D08BB7

Accessibility & contrast

On white

5.96
#9F417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F417D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F417D#FFFFFF#000000##FFFFFF
##9F417D1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7F
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#A94159
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f417d;
/* rgb */ color: rgb(159, 65, 125);
/* oklch */ color: oklch(52.0% 0.143 344.0);
Tailwind
colors: {
  custom: {
    50: '#be7aa2',
    500: '#9f417d',
    950: '#000000',
  },
}
SCSS
$custom: #9f417d;
$custom-light: #be7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f417d",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 321.702,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5205,
    "c": 0.14308,
    "h": 344
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#9F417D
secondary
#81BA96
accent
#D28356
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #9F417D

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

Preview Lab → · Contrast checker → · Palette generator →

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