#9F184A#9F184A

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

Color values

HEX#9F184A
RGBrgb(159, 24, 74)
HSLhsl(338, 74%, 36%)
HSVhsv(338, 85%, 62%)
CMYKcmyk(0%, 84.9%, 53.5%, 37.6%)
CIE-LABlab(35.05, 55.26, 6.81)
CIE-LCHlch(35.05, 55.68, 7.02°)
OKLaboklab(46.21% 0.1689 0.0177)
OKLCHoklch(46.21% 0.17 6)
XYZxyz(15.8622, 8.5209, 7.2867)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F184A #189F6D
analogous
#9F188D #9F184A #9F2A18
triadic
#9F184A #4A9F18 #184A9F
tetradic
#9F184A #8D9F18 #189F6D #2A189F
square
#9F184A #8D9F18 #189F6D #2A189F
split-complementary
#9F184A #189F2A #188D9F
monochromatic
#350819 #6A1031 #9F184A #D42063 #E44D85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F184A#FFFFFF#000000##FFFFFF
##9F184A1.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)
#3E424B
Deuteranopia (green-blind)
#615C47
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f184a;
/* rgb */ color: rgb(159, 24, 74);
/* oklch */ color: oklch(46.2% 0.170 6.0);
Tailwind
colors: {
  custom: {
    50: '#c2667c',
    500: '#9f184a',
    950: '#000000',
  },
}
SCSS
$custom: #9f184a;
$custom-light: #c2667c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f184a",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 337.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46213,
    "c": 0.16986,
    "h": 6
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#9F184A
secondary
#4DC699
accent
#F0AC37
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F184A

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

Preview Lab → · Contrast checker → · Palette generator →

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