#9F187C#9F187C

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

Color values

HEX#9F187C
RGBrgb(159, 24, 124)
HSLhsl(316, 74%, 36%)
HSVhsv(316, 85%, 62%)
CMYKcmyk(0%, 84.9%, 22%, 37.6%)
CIE-LABlab(36.90, 60.53, -22.36)
CIE-LCHlch(36.90, 64.53, 339.72°)
OKLaboklab(48.16% 0.1822 -0.0602)
OKLCHoklch(48.16% 0.192 341.7)
XYZxyz(18.2635, 9.4814, 19.9332)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F187C #189F3B
analogous
#7E189F #9F187C #9F1838
triadic
#9F187C #7C9F18 #187C9F
tetradic
#9F187C #9F7E18 #189F3B #18389F
square
#9F187C #9F7E18 #189F3B #18389F
split-complementary
#9F187C #389F18 #189F7E
monochromatic
#350829 #6A1053 #9F187C #D420A5 #E44DBD

Accessibility & contrast

On white

7.25
#9F187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F187C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F187C#FFFFFF#000000##FFFFFF
##9F187C1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A91B4A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f187c;
/* rgb */ color: rgb(159, 24, 124);
/* oklch */ color: oklch(48.2% 0.192 341.7);
Tailwind
colors: {
  custom: {
    50: '#c068a2',
    500: '#9f187c',
    950: '#000000',
  },
}
SCSS
$custom: #9f187c;
$custom-light: #c068a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f187c",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 315.556,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.19191,
    "h": 341.7
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#9F187C
secondary
#4DC66C
accent
#F06737
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F187C

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

Preview Lab → · Contrast checker → · Palette generator →

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