#9F165A#9F165A

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

Color values

HEX#9F165A
RGBrgb(159, 22, 90)
HSLhsl(330, 76%, 35%)
HSVhsv(330, 86%, 62%)
CMYKcmyk(0%, 86.2%, 43.4%, 37.6%)
CIE-LABlab(35.37, 57.11, -3.09)
CIE-LCHlch(35.37, 57.20, 356.90°)
OKLaboklab(46.61% 0.176 -0.0074)
OKLCHoklch(46.61% 0.176 357.6)
XYZxyz(16.4317, 8.6852, 10.4820)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F165A #169F5B
analogous
#9F169E #9F165A #9F1616
triadic
#9F165A #5A9F16 #165A9F
tetradic
#9F165A #9E9F16 #169F5B #16169F
square
#9F165A #9E9F16 #169F5B #16169F
split-complementary
#9F165A #169F16 #169E9F
monochromatic
#33071D #690F3C #9F165A #D51D78 #E64A97

Accessibility & contrast

On white

7.67
#9F165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F165A
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F165A#FFFFFF#000000##FFFFFF
##9F165A1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39435C
Deuteranopia (green-blind)
#5E5C57
Tritanopia (blue-blind)
#AD0037
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f165a;
/* rgb */ color: rgb(159, 22, 90);
/* oklch */ color: oklch(46.6% 0.176 357.6);
Tailwind
colors: {
  custom: {
    50: '#c16688',
    500: '#9f165a',
    950: '#000000',
  },
}
SCSS
$custom: #9f165a;
$custom-light: #c16688;
$custom-dark: #000000;
JSON
{
  "hex": "#9f165a",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 330.219,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46609,
    "c": 0.17614,
    "h": 357.6
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#9F165A
secondary
#4AC789
accent
#F29536
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F165A

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

Preview Lab → · Contrast checker → · Palette generator →

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