#9F187D#9F187D

#9F187D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.193 H 341.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9F187D
RGBrgb(159, 24, 125)
HSLhsl(315, 74%, 36%)
HSVhsv(315, 85%, 62%)
CMYKcmyk(0%, 84.9%, 21.4%, 37.6%)
CIE-LABlab(36.94, 60.66, -22.91)
CIE-LCHlch(36.94, 64.84, 339.31°)
OKLaboklab(48.21% 0.1824 -0.0618)
OKLCHoklch(48.21% 0.193 341.3)
XYZxyz(18.3270, 9.5068, 20.2679)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F187D #189F3A
analogous
#7D189F #9F187D #9F1839
triadic
#9F187D #7D9F18 #187D9F
tetradic
#9F187D #9F7D18 #189F3A #18399F
square
#9F187D #9F7D18 #189F3A #18399F
split-complementary
#9F187D #399F18 #189F7D
monochromatic
#350829 #6A1053 #9F187D #D420A7 #E44DBE

Accessibility & contrast

On white

7.24
#9F187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F187D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F187D#FFFFFF#000000##FFFFFF
##9F187D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497F
Deuteranopia (green-blind)
#545E7A
Tritanopia (blue-blind)
#A91C4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f187d;
/* rgb */ color: rgb(159, 24, 125);
/* oklch */ color: oklch(48.2% 0.193 341.3);
Tailwind
colors: {
  custom: {
    50: '#c068a3',
    500: '#9f187d',
    950: '#000000',
  },
}
SCSS
$custom: #9f187d;
$custom-light: #c068a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f187d",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 315.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48209,
    "c": 0.19253,
    "h": 341.3
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#9F187D
secondary
#4DC66B
accent
#F06637
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F187D

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

Preview Lab → · Contrast checker → · Palette generator →

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