#9F185A#9F185A

#9F185A is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.175 H 357.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9F185A
RGBrgb(159, 24, 90)
HSLhsl(331, 74%, 36%)
HSVhsv(331, 85%, 62%)
CMYKcmyk(0%, 84.9%, 43.4%, 37.6%)
CIE-LABlab(35.53, 56.66, -2.86)
CIE-LCHlch(35.53, 56.74, 357.11°)
OKLaboklab(46.72% 0.1745 -0.0068)
OKLCHoklch(46.72% 0.175 357.8)
XYZxyz(16.4715, 8.7646, 10.4953)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F185A #189F5D
analogous
#9F189D #9F185A #9F1A18
triadic
#9F185A #5A9F18 #185A9F
tetradic
#9F185A #9D9F18 #189F5D #1A189F
square
#9F185A #9D9F18 #189F5D #1A189F
split-complementary
#9F185A #189F1A #189D9F
monochromatic
#35081E #6A103C #9F185A #D42078 #E44D97

Accessibility & contrast

On white

7.63
#9F185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F185A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F185A#FFFFFF#000000##FFFFFF
##9F185A1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445B
Deuteranopia (green-blind)
#5E5C57
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f185a;
/* rgb */ color: rgb(159, 24, 90);
/* oklch */ color: oklch(46.7% 0.175 357.8);
Tailwind
colors: {
  custom: {
    50: '#c16788',
    500: '#9f185a',
    950: '#000000',
  },
}
SCSS
$custom: #9f185a;
$custom-light: #c16788;
$custom-dark: #000000;
JSON
{
  "hex": "#9f185a",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 330.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46723,
    "c": 0.17467,
    "h": 357.8
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#9F185A
secondary
#4DC68B
accent
#F09637
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F185A

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

Preview Lab → · Contrast checker → · Palette generator →

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