#9F165C#9F165C

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

Color values

HEX#9F165C
RGBrgb(159, 22, 92)
HSLhsl(329, 76%, 35%)
HSVhsv(329, 86%, 62%)
CMYKcmyk(0%, 86.2%, 42.1%, 37.6%)
CIE-LABlab(35.44, 57.31, -4.28)
CIE-LCHlch(35.44, 57.47, 355.73°)
OKLaboklab(46.68% 0.1766 -0.0105)
OKLCHoklch(46.68% 0.177 356.6)
XYZxyz(16.5180, 8.7197, 10.9364)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F165C #169F59
analogous
#9D169F #9F165C #9F1617
triadic
#9F165C #5C9F16 #165C9F
tetradic
#9F165C #9F9D16 #169F59 #16179F
square
#9F165C #9F9D16 #169F59 #16179F
split-complementary
#9F165C #179F16 #169F9D
monochromatic
#33071E #690F3D #9F165C #D51D7B #E64A99

Accessibility & contrast

On white

7.65
#9F165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F165C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F165C#FFFFFF#000000##FFFFFF
##9F165C1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f165c;
/* rgb */ color: rgb(159, 22, 92);
/* oklch */ color: oklch(46.7% 0.177 356.6);
Tailwind
colors: {
  custom: {
    50: '#c1678a',
    500: '#9f165c',
    950: '#000000',
  },
}
SCSS
$custom: #9f165c;
$custom-light: #c1678a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f165c",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 329.343,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46681,
    "c": 0.17691,
    "h": 356.6
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

primary
#9F165C
secondary
#4AC787
accent
#F29236
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F165C

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

Preview Lab → · Contrast checker → · Palette generator →

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