#9F165D#9F165D

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

Color values

HEX#9F165D
RGBrgb(159, 22, 93)
HSLhsl(329, 76%, 35%)
HSVhsv(329, 86%, 62%)
CMYKcmyk(0%, 86.2%, 41.5%, 37.6%)
CIE-LABlab(35.47, 57.40, -4.87)
CIE-LCHlch(35.47, 57.61, 355.15°)
OKLaboklab(46.72% 0.1769 -0.0121)
OKLCHoklch(46.72% 0.177 356.1)
XYZxyz(16.5620, 8.7373, 11.1681)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F165D #169F58
analogous
#9C169F #9F165D #9F1618
triadic
#9F165D #5D9F16 #165D9F
tetradic
#9F165D #9F9C16 #169F58 #16189F
square
#9F165D #9F9C16 #169F58 #16189F
split-complementary
#9F165D #189F16 #169F9C
monochromatic
#33071E #690F3E #9F165D #D51D7C #E64A9B

Accessibility & contrast

On white

7.64
#9F165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F165D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F165D#FFFFFF#000000##FFFFFF
##9F165D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435F
Deuteranopia (green-blind)
#5D5C5A
Tritanopia (blue-blind)
#AC0039
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f165d;
/* rgb */ color: rgb(159, 22, 93);
/* oklch */ color: oklch(46.7% 0.177 356.1);
Tailwind
colors: {
  custom: {
    50: '#c1678a',
    500: '#9f165d',
    950: '#000000',
  },
}
SCSS
$custom: #9f165d;
$custom-light: #c1678a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f165d",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 328.905,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46718,
    "c": 0.17731,
    "h": 356.1
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#9F165D
secondary
#4AC786
accent
#F29036
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F165D

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

Preview Lab → · Contrast checker → · Palette generator →

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