#9F147A#9F147A

#9F147A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.194 H 342.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9F147A
RGBrgb(159, 20, 122)
HSLhsl(316, 78%, 35%)
HSVhsv(316, 87%, 62%)
CMYKcmyk(0%, 87.4%, 23.3%, 37.6%)
CIE-LABlab(36.51, 61.10, -21.70)
CIE-LCHlch(36.51, 64.84, 340.44°)
OKLaboklab(47.86% 0.1845 -0.0583)
OKLCHoklch(47.86% 0.194 342.5)
XYZxyz(18.0618, 9.2784, 19.2483)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F147A #149F39
analogous
#7E149F #9F147A #9F1435
triadic
#9F147A #7A9F14 #147A9F
tetradic
#9F147A #9F7E14 #149F39 #14359F
square
#9F147A #9F7E14 #149F39 #14359F
split-complementary
#9F147A #359F14 #149F7E
monochromatic
#320627 #690D50 #9F147A #D51BA4 #E846BD

Accessibility & contrast

On white

7.36
#9F147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F147A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F147A#FFFFFF#000000##FFFFFF
##9F147A1.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#AA1648
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f147a;
/* rgb */ color: rgb(159, 20, 122);
/* oklch */ color: oklch(47.9% 0.194 342.5);
Tailwind
colors: {
  custom: {
    50: '#c067a0',
    500: '#9f147a',
    950: '#000000',
  },
}
SCSS
$custom: #9f147a;
$custom-light: #c067a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f147a",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 315.971,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.19352,
    "h": 342.5
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#9F147A
secondary
#46C869
accent
#F46734
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9F147A

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

Preview Lab → · Contrast checker → · Palette generator →

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