#9F174C#9F174C

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

Color values

HEX#9F174C
RGBrgb(159, 23, 76)
HSLhsl(337, 75%, 36%)
HSVhsv(337, 86%, 62%)
CMYKcmyk(0%, 85.5%, 52.2%, 37.6%)
CIE-LABlab(35.02, 55.65, 5.47)
CIE-LCHlch(35.02, 55.92, 5.61°)
OKLaboklab(46.21% 0.1704 0.0144)
OKLCHoklch(46.21% 0.171 4.8)
XYZxyz(15.9105, 8.5078, 7.6405)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F174C #179F6A
analogous
#9F1790 #9F174C #9F2617
triadic
#9F174C #4C9F17 #174C9F
tetradic
#9F174C #909F17 #179F6A #26179F
square
#9F174C #909F17 #179F6A #26179F
split-complementary
#9F174C #179F26 #17909F
monochromatic
#340819 #6A0F32 #9F174C #D41F66 #E54B87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F174C#FFFFFF#000000##FFFFFF
##9F174C1.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)
#3D414D
Deuteranopia (green-blind)
#605C49
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f174c;
/* rgb */ color: rgb(159, 23, 76);
/* oklch */ color: oklch(46.2% 0.171 4.8);
Tailwind
colors: {
  custom: {
    50: '#c2667d',
    500: '#9f174c',
    950: '#000000',
  },
}
SCSS
$custom: #9f174c;
$custom-light: #c2667d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f174c",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 336.618,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.17105,
    "h": 4.8
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#9F174C
secondary
#4BC797
accent
#F1A936
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F174C

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

Preview Lab → · Contrast checker → · Palette generator →

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