#9F147D#9F147D

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

Color values

HEX#9F147D
RGBrgb(159, 20, 125)
HSLhsl(315, 78%, 35%)
HSVhsv(315, 87%, 62%)
CMYKcmyk(0%, 87.4%, 21.4%, 37.6%)
CIE-LABlab(36.66, 61.49, -23.36)
CIE-LCHlch(36.66, 65.78, 339.20°)
OKLaboklab(48% 0.1849 -0.063)
OKLCHoklch(48% 0.195 341.2)
XYZxyz(18.2506, 9.3539, 20.2424)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F147D #149F36
analogous
#7B149F #9F147D #9F1438
triadic
#9F147D #7D9F14 #147D9F
tetradic
#9F147D #9F7B14 #149F36 #14389F
square
#9F147D #9F7B14 #149F36 #14389F
split-complementary
#9F147D #389F14 #149F7B
monochromatic
#320628 #690D52 #9F147D #D51BA8 #E846C0

Accessibility & contrast

On white

7.32
#9F147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F147D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F147D#FFFFFF#000000##FFFFFF
##9F147D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254880
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A9194A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f147d;
/* rgb */ color: rgb(159, 20, 125);
/* oklch */ color: oklch(48.0% 0.195 341.2);
Tailwind
colors: {
  custom: {
    50: '#c067a3',
    500: '#9f147d',
    950: '#000000',
  },
}
SCSS
$custom: #9f147d;
$custom-light: #c067a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f147d",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 314.676,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48004,
    "c": 0.19534,
    "h": 341.2
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#9F147D
secondary
#46C866
accent
#F46334
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F147D

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

Preview Lab → · Contrast checker → · Palette generator →

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