#9F174F#9F174F

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

Color values

HEX#9F174F
RGBrgb(159, 23, 79)
HSLhsl(335, 75%, 36%)
HSVhsv(335, 86%, 62%)
CMYKcmyk(0%, 85.5%, 50.3%, 37.6%)
CIE-LABlab(35.10, 55.90, 3.64)
CIE-LCHlch(35.10, 56.02, 3.73°)
OKLaboklab(46.3% 0.1715 0.0099)
OKLCHoklch(46.3% 0.172 3.3)
XYZxyz(16.0172, 8.5505, 8.2026)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F174F #179F67
analogous
#9F1793 #9F174F #9F2317
triadic
#9F174F #4F9F17 #174F9F
tetradic
#9F174F #939F17 #179F67 #23179F
square
#9F174F #939F17 #179F67 #23179F
split-complementary
#9F174F #179F23 #17939F
monochromatic
#34081A #6A0F34 #9F174F #D41F6A #E54B8B

Accessibility & contrast

On white

7.75
#9F174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F174F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F174F#FFFFFF#000000##FFFFFF
##9F174F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4250
Deuteranopia (green-blind)
#605C4C
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f174f;
/* rgb */ color: rgb(159, 23, 79);
/* oklch */ color: oklch(46.3% 0.172 3.3);
Tailwind
colors: {
  custom: {
    50: '#c16680',
    500: '#9f174f',
    950: '#000000',
  },
}
SCSS
$custom: #9f174f;
$custom-light: #c16680;
$custom-dark: #000000;
JSON
{
  "hex": "#9f174f",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 335.294,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46302,
    "c": 0.17182,
    "h": 3.3
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#9F174F
secondary
#4BC794
accent
#F1A436
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F174F

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

Preview Lab → · Contrast checker → · Palette generator →

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