#9F165B#9F165B

#9F165B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.177 H 357.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9F165B
RGBrgb(159, 22, 91)
HSLhsl(330, 76%, 35%)
HSVhsv(330, 86%, 62%)
CMYKcmyk(0%, 86.2%, 42.8%, 37.6%)
CIE-LABlab(35.40, 57.21, -3.69)
CIE-LCHlch(35.40, 57.33, 356.31°)
OKLaboklab(46.65% 0.1763 -0.009)
OKLCHoklch(46.65% 0.177 357.1)
XYZxyz(16.4746, 8.7023, 10.7077)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F165B #169F5A
analogous
#9E169F #9F165B #9F1616
triadic
#9F165B #5B9F16 #165B9F
tetradic
#9F165B #9F9E16 #169F5A #16169F
square
#9F165B #9F9E16 #169F5A #16169F
split-complementary
#9F165B #169F16 #169F9E
monochromatic
#33071D #690F3C #9F165B #D51D7A #E64A98

Accessibility & contrast

On white

7.66
#9F165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9F165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F165B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F165B#FFFFFF#000000##FFFFFF
##9F165B1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435D
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f165b;
/* rgb */ color: rgb(159, 22, 91);
/* oklch */ color: oklch(46.6% 0.177 357.1);
Tailwind
colors: {
  custom: {
    50: '#c16689',
    500: '#9f165b',
    950: '#000000',
  },
}
SCSS
$custom: #9f165b;
$custom-light: #c16689;
$custom-dark: #000000;
JSON
{
  "hex": "#9f165b",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 329.781,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46645,
    "c": 0.17653,
    "h": 357.1
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#9F165B
secondary
#4AC788
accent
#F29336
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F165B

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

Preview Lab → · Contrast checker → · Palette generator →

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