#9F165F#9F165F

#9F165F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.178 H 355.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9F165F
RGBrgb(159, 22, 95)
HSLhsl(328, 76%, 35%)
HSVhsv(328, 86%, 62%)
CMYKcmyk(0%, 86.2%, 40.3%, 37.6%)
CIE-LABlab(35.54, 57.60, -6.05)
CIE-LCHlch(35.54, 57.92, 354.00°)
OKLaboklab(46.79% 0.1775 -0.0152)
OKLCHoklch(46.79% 0.178 355.1)
XYZxyz(16.6518, 8.7732, 11.6408)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F165F #169F56
analogous
#9A169F #9F165F #9F161A
triadic
#9F165F #5F9F16 #165F9F
tetradic
#9F165F #9F9A16 #169F56 #161A9F
square
#9F165F #9F9A16 #169F56 #161A9F
split-complementary
#9F165F #1A9F16 #169F9A
monochromatic
#33071F #690F3F #9F165F #D51D7F #E64A9D

Accessibility & contrast

On white

7.62
#9F165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F165F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F165F#FFFFFF#000000##FFFFFF
##9F165F1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374461
Deuteranopia (green-blind)
#5C5C5C
Tritanopia (blue-blind)
#AC003A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f165f;
/* rgb */ color: rgb(159, 22, 95);
/* oklch */ color: oklch(46.8% 0.178 355.1);
Tailwind
colors: {
  custom: {
    50: '#c1678c',
    500: '#9f165f',
    950: '#000000',
  },
}
SCSS
$custom: #9f165f;
$custom-light: #c1678c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f165f",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 328.029,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46792,
    "c": 0.17814,
    "h": 355.1
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#9F165F
secondary
#4AC784
accent
#F28E36
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F165F

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

Preview Lab → · Contrast checker → · Palette generator →

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