#9F185B#9F185B

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

Color values

HEX#9F185B
RGBrgb(159, 24, 91)
HSLhsl(330, 74%, 36%)
HSVhsv(330, 85%, 62%)
CMYKcmyk(0%, 84.9%, 42.8%, 37.6%)
CIE-LABlab(35.56, 56.76, -3.46)
CIE-LCHlch(35.56, 56.87, 356.52°)
OKLaboklab(46.76% 0.1749 -0.0084)
OKLCHoklch(46.76% 0.175 357.3)
XYZxyz(16.5143, 8.7817, 10.7209)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F185B #189F5C
analogous
#9F189E #9F185B #9F1818
triadic
#9F185B #5B9F18 #185B9F
tetradic
#9F185B #9E9F18 #189F5C #18189F
square
#9F185B #9E9F18 #189F5C #18189F
split-complementary
#9F185B #189F18 #189E9F
monochromatic
#35081E #6A103D #9F185B #D42079 #E44D98

Accessibility & contrast

On white

7.62
#9F185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9F185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F185B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F185B#FFFFFF#000000##FFFFFF
##9F185B1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f185b;
/* rgb */ color: rgb(159, 24, 91);
/* oklch */ color: oklch(46.8% 0.175 357.3);
Tailwind
colors: {
  custom: {
    50: '#c16789',
    500: '#9f185b',
    950: '#000000',
  },
}
SCSS
$custom: #9f185b;
$custom-light: #c16789;
$custom-dark: #000000;
JSON
{
  "hex": "#9f185b",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 330.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46759,
    "c": 0.17505,
    "h": 357.3
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#9F185B
secondary
#4DC68A
accent
#F09537
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F185B

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

Preview Lab → · Contrast checker → · Palette generator →

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