#9F418D#9F418D

#9F418D is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.8% C 0.155 H 335.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9F418D
RGBrgb(159, 65, 141)
HSLhsl(311, 42%, 44%)
HSVhsv(311, 59%, 62%)
CMYKcmyk(0%, 59.1%, 11.3%, 37.6%)
CIE-LABlab(42.88, 48.47, -23.53)
CIE-LCHlch(42.88, 53.88, 334.10°)
OKLaboklab(52.76% 0.1411 -0.0639)
OKLCHoklch(52.76% 0.155 335.6)
XYZxyz(20.9963, 13.0762, 26.6123)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F418D #419F53
analogous
#82419F #9F418D #9F415E
triadic
#9F418D #8D9F41 #418D9F
tetradic
#9F418D #9F8241 #419F53 #415E9F
square
#9F418D #9F8241 #419F53 #415E9F
split-complementary
#9F418D #5E9F41 #419F82
monochromatic
#481D40 #742F66 #9F418D #BE5FAC #D08BC2

Accessibility & contrast

On white

5.81
#9F418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F418D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F418D#FFFFFF#000000##FFFFFF
##9F418D1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8F
Deuteranopia (green-blind)
#5E6A8B
Tritanopia (blue-blind)
#A64661
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f418d;
/* rgb */ color: rgb(159, 65, 141);
/* oklch */ color: oklch(52.8% 0.155 335.6);
Tailwind
colors: {
  custom: {
    50: '#be7bae',
    500: '#9f418d',
    950: '#000000',
  },
}
SCSS
$custom: #9f418d;
$custom-light: #be7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f418d",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 311.489,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.15484,
    "h": 335.6
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#9F418D
secondary
#81BA8C
accent
#D26E56
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9F418D

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

Preview Lab → · Contrast checker → · Palette generator →

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