#9F147C#9F147C

#9F147C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 48.0% C 0.195 H 341.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9F147C
RGBrgb(159, 20, 124)
HSLhsl(315, 78%, 35%)
HSVhsv(315, 87%, 62%)
CMYKcmyk(0%, 87.4%, 22%, 37.6%)
CIE-LABlab(36.61, 61.36, -22.81)
CIE-LCHlch(36.61, 65.46, 339.61°)
OKLaboklab(47.96% 0.1848 -0.0615)
OKLCHoklch(47.96% 0.195 341.6)
XYZxyz(18.1870, 9.3285, 19.9077)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F147C #149F37
analogous
#7D149F #9F147C #9F1436
triadic
#9F147C #7C9F14 #147C9F
tetradic
#9F147C #9F7D14 #149F37 #14369F
square
#9F147C #9F7D14 #149F37 #14369F
split-complementary
#9F147C #369F14 #149F7D
monochromatic
#320627 #690D52 #9F147C #D51BA6 #E846BF

Accessibility & contrast

On white

7.33
#9F147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F147C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F147C#FFFFFF#000000##FFFFFF
##9F147C1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#A9184A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f147c;
/* rgb */ color: rgb(159, 20, 124);
/* oklch */ color: oklch(48.0% 0.195 341.6);
Tailwind
colors: {
  custom: {
    50: '#c067a2',
    500: '#9f147c',
    950: '#000000',
  },
}
SCSS
$custom: #9f147c;
$custom-light: #c067a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f147c",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 315.108,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47955,
    "c": 0.19472,
    "h": 341.6
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#9F147C
secondary
#46C867
accent
#F46434
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F147C

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

Preview Lab → · Contrast checker → · Palette generator →

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