#9F185C#9F185C

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

Color values

HEX#9F185C
RGBrgb(159, 24, 92)
HSLhsl(330, 74%, 36%)
HSVhsv(330, 85%, 62%)
CMYKcmyk(0%, 84.9%, 42.1%, 37.6%)
CIE-LABlab(35.59, 56.86, -4.05)
CIE-LCHlch(35.59, 57.00, 355.93°)
OKLaboklab(46.79% 0.1752 -0.0099)
OKLCHoklch(46.79% 0.175 356.8)
XYZxyz(16.5577, 8.7991, 10.9496)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F185C #189F5B
analogous
#9E189F #9F185C #9F1818
triadic
#9F185C #5C9F18 #185C9F
tetradic
#9F185C #9F9E18 #189F5B #18189F
square
#9F185C #9F9E18 #189F5B #18189F
split-complementary
#9F185C #189F18 #189F9E
monochromatic
#35081E #6A103D #9F185C #D4207B #E44D99

Accessibility & contrast

On white

7.61
#9F185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F185C
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F185C#FFFFFF#000000##FFFFFF
##9F185C1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445E
Deuteranopia (green-blind)
#5E5D59
Tritanopia (blue-blind)
#AD0039
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f185c;
/* rgb */ color: rgb(159, 24, 92);
/* oklch */ color: oklch(46.8% 0.175 356.8);
Tailwind
colors: {
  custom: {
    50: '#c1678a',
    500: '#9f185c',
    950: '#000000',
  },
}
SCSS
$custom: #9f185c;
$custom-light: #c1678a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f185c",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 329.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.17544,
    "h": 356.8
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#9F185C
secondary
#4DC689
accent
#F09337
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F185C

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

Preview Lab → · Contrast checker → · Palette generator →

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