#9F175B#9F175B

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

Color values

HEX#9F175B
RGBrgb(159, 23, 91)
HSLhsl(330, 75%, 36%)
HSVhsv(330, 86%, 62%)
CMYKcmyk(0%, 85.5%, 42.8%, 37.6%)
CIE-LABlab(35.48, 56.99, -3.57)
CIE-LCHlch(35.48, 57.10, 356.41°)
OKLaboklab(46.7% 0.1756 -0.0087)
OKLCHoklch(46.7% 0.176 357.2)
XYZxyz(16.4941, 8.7413, 10.7142)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F175B #179F5B
analogous
#9F179F #9F175B #9F1717
triadic
#9F175B #5B9F17 #175B9F
tetradic
#9F175B #9F9F17 #179F5B #17179F
square
#9F175B #9F9F17 #179F5B #17179F
split-complementary
#9F175B #179F17 #179F9F
monochromatic
#34081E #6A0F3C #9F175B #D41F7A #E54B98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F175B#FFFFFF#000000##FFFFFF
##9F175B1.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)
#39435D
Deuteranopia (green-blind)
#5E5C58
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f175b;
/* rgb */ color: rgb(159, 23, 91);
/* oklch */ color: oklch(46.7% 0.176 357.2);
Tailwind
colors: {
  custom: {
    50: '#c16789',
    500: '#9f175b',
    950: '#000000',
  },
}
SCSS
$custom: #9f175b;
$custom-light: #c16789;
$custom-dark: #000000;
JSON
{
  "hex": "#9f175b",
  "rgb": {
    "r": 159,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 330,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46701,
    "c": 0.1758,
    "h": 357.2
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#9F175B
secondary
#4BC789
accent
#F19436
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F175B

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

Preview Lab → · Contrast checker → · Palette generator →

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