#9F187E#9F187E

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

Color values

HEX#9F187E
RGBrgb(159, 24, 126)
HSLhsl(315, 74%, 36%)
HSVhsv(315, 85%, 62%)
CMYKcmyk(0%, 84.9%, 20.8%, 37.6%)
CIE-LABlab(36.99, 60.79, -23.46)
CIE-LCHlch(36.99, 65.16, 338.89°)
OKLaboklab(48.26% 0.1825 -0.0633)
OKLCHoklch(48.26% 0.193 340.9)
XYZxyz(18.3912, 9.5325, 20.6060)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F187E #189F39
analogous
#7C189F #9F187E #9F183A
triadic
#9F187E #7E9F18 #187E9F
tetradic
#9F187E #9F7C18 #189F39 #183A9F
square
#9F187E #9F7C18 #189F39 #183A9F
split-complementary
#9F187E #3A9F18 #189F7C
monochromatic
#35082A #6A1054 #9F187E #D420A8 #E44DBF

Accessibility & contrast

On white

7.23
#9F187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9F187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F187E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F187E#FFFFFF#000000##FFFFFF
##9F187E1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#545E7B
Tritanopia (blue-blind)
#A91D4C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f187e;
/* rgb */ color: rgb(159, 24, 126);
/* oklch */ color: oklch(48.3% 0.193 340.9);
Tailwind
colors: {
  custom: {
    50: '#c068a3',
    500: '#9f187e',
    950: '#000000',
  },
}
SCSS
$custom: #9f187e;
$custom-light: #c068a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f187e",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 314.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.19315,
    "h": 340.9
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#9F187E
secondary
#4DC66A
accent
#F06537
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F187E

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

Preview Lab → · Contrast checker → · Palette generator →

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