#9F174D#9F174D

#9F174D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.171 H 4.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9F174D
RGBrgb(159, 23, 77)
HSLhsl(336, 75%, 36%)
HSVhsv(336, 86%, 62%)
CMYKcmyk(0%, 85.5%, 51.6%, 37.6%)
CIE-LABlab(35.05, 55.73, 4.86)
CIE-LCHlch(35.05, 55.95, 4.98°)
OKLaboklab(46.24% 0.1708 0.0129)
OKLCHoklch(46.24% 0.171 4.3)
XYZxyz(15.9455, 8.5218, 7.8250)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F174D #179F69
analogous
#9F1791 #9F174D #9F2517
triadic
#9F174D #4D9F17 #174D9F
tetradic
#9F174D #919F17 #179F69 #25179F
square
#9F174D #919F17 #179F69 #25179F
split-complementary
#9F174D #179F25 #17919F
monochromatic
#340819 #6A0F33 #9F174D #D41F67 #E54B88

Accessibility & contrast

On white

7.77
#9F174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9F174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F174D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F174D#FFFFFF#000000##FFFFFF
##9F174D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424E
Deuteranopia (green-blind)
#605C4A
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f174d;
/* rgb */ color: rgb(159, 23, 77);
/* oklch */ color: oklch(46.2% 0.171 4.3);
Tailwind
colors: {
  custom: {
    50: '#c2667e',
    500: '#9f174d',
    950: '#000000',
  },
}
SCSS
$custom: #9f174d;
$custom-light: #c2667e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f174d",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 336.176,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46242,
    "c": 0.17129,
    "h": 4.3
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#9F174D
secondary
#4BC796
accent
#F1A736
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F174D

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

Preview Lab → · Contrast checker → · Palette generator →

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