#9F174E#9F174E

#9F174E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.172 H 3.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9F174E
RGBrgb(159, 23, 78)
HSLhsl(336, 75%, 36%)
HSVhsv(336, 86%, 62%)
CMYKcmyk(0%, 85.5%, 50.9%, 37.6%)
CIE-LABlab(35.08, 55.82, 4.25)
CIE-LCHlch(35.08, 55.98, 4.35°)
OKLaboklab(46.27% 0.1712 0.0114)
OKLCHoklch(46.27% 0.172 3.8)
XYZxyz(15.9811, 8.5361, 8.0124)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F174E #179F68
analogous
#9F1792 #9F174E #9F2417
triadic
#9F174E #4E9F17 #174E9F
tetradic
#9F174E #929F17 #179F68 #24179F
square
#9F174E #929F17 #179F68 #24179F
split-complementary
#9F174E #179F24 #17929F
monochromatic
#34081A #6A0F34 #9F174E #D41F68 #E54B8A

Accessibility & contrast

On white

7.76
#9F174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9F174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F174E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F174E#FFFFFF#000000##FFFFFF
##9F174E1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424F
Deuteranopia (green-blind)
#605C4B
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f174e;
/* rgb */ color: rgb(159, 23, 78);
/* oklch */ color: oklch(46.3% 0.172 3.8);
Tailwind
colors: {
  custom: {
    50: '#c2667f',
    500: '#9f174e',
    950: '#000000',
  },
}
SCSS
$custom: #9f174e;
$custom-light: #c2667f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f174e",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 335.735,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46272,
    "c": 0.17156,
    "h": 3.8
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#9F174E
secondary
#4BC795
accent
#F1A636
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #9F174E

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

Preview Lab → · Contrast checker → · Palette generator →

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