#9F147B#9F147B

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

Color values

HEX#9F147B
RGBrgb(159, 20, 123)
HSLhsl(316, 78%, 35%)
HSVhsv(316, 87%, 62%)
CMYKcmyk(0%, 87.4%, 22.6%, 37.6%)
CIE-LABlab(36.56, 61.23, -22.26)
CIE-LCHlch(36.56, 65.15, 340.02°)
OKLaboklab(47.91% 0.1847 -0.0599)
OKLCHoklch(47.91% 0.194 342)
XYZxyz(18.1241, 9.3033, 19.5763)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F147B #149F38
analogous
#7E149F #9F147B #9F1435
triadic
#9F147B #7B9F14 #147B9F
tetradic
#9F147B #9F7E14 #149F38 #14359F
square
#9F147B #9F7E14 #149F38 #14359F
split-complementary
#9F147B #359F14 #149F7E
monochromatic
#320627 #690D51 #9F147B #D51BA5 #E846BE

Accessibility & contrast

On white

7.34
#9F147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F147B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F147B#FFFFFF#000000##FFFFFF
##9F147B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#A91749
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f147b;
/* rgb */ color: rgb(159, 20, 123);
/* oklch */ color: oklch(47.9% 0.194 342.0);
Tailwind
colors: {
  custom: {
    50: '#c067a1',
    500: '#9f147b',
    950: '#000000',
  },
}
SCSS
$custom: #9f147b;
$custom-light: #c067a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f147b",
  "rgb": {
    "r": 159,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 315.54,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.19412,
    "h": 342
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#9F147B
secondary
#46C868
accent
#F46534
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9F147B

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

Preview Lab → · Contrast checker → · Palette generator →

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