#9F187A#9F187A

#9F187A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.191 H 342.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9F187A
RGBrgb(159, 24, 122)
HSLhsl(316, 74%, 36%)
HSVhsv(316, 85%, 62%)
CMYKcmyk(0%, 84.9%, 23.3%, 37.6%)
CIE-LABlab(36.80, 60.27, -21.26)
CIE-LCHlch(36.80, 63.91, 340.57°)
OKLaboklab(48.06% 0.182 -0.0571)
OKLCHoklch(48.06% 0.191 342.6)
XYZxyz(18.1383, 9.4313, 19.2738)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F187A #189F3D
analogous
#80189F #9F187A #9F1837
triadic
#9F187A #7A9F18 #187A9F
tetradic
#9F187A #9F8018 #189F3D #18379F
square
#9F187A #9F8018 #189F3D #18379F
split-complementary
#9F187A #379F18 #189F80
monochromatic
#350828 #6A1051 #9F187A #D420A3 #E44DBB

Accessibility & contrast

On white

7.28
#9F187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9F187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F187A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F187A#FFFFFF#000000##FFFFFF
##9F187A1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497C
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#AA1A49
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f187a;
/* rgb */ color: rgb(159, 24, 122);
/* oklch */ color: oklch(48.1% 0.191 342.6);
Tailwind
colors: {
  custom: {
    50: '#c068a0',
    500: '#9f187a',
    950: '#000000',
  },
}
SCSS
$custom: #9f187a;
$custom-light: #c068a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f187a",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 316.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48063,
    "c": 0.1907,
    "h": 342.6
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#9F187A
secondary
#4DC66E
accent
#F06A37
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9F187A

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

Preview Lab → · Contrast checker → · Palette generator →

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