#9F187F#9F187F

#9F187F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.194 H 340.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9F187F
RGBrgb(159, 24, 127)
HSLhsl(314, 74%, 36%)
HSVhsv(314, 85%, 62%)
CMYKcmyk(0%, 84.9%, 20.1%, 37.6%)
CIE-LABlab(37.04, 60.92, -24.01)
CIE-LCHlch(37.04, 65.49, 338.49°)
OKLaboklab(48.31% 0.1826 -0.0649)
OKLCHoklch(48.31% 0.194 340.4)
XYZxyz(18.4561, 9.5585, 20.9476)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F187F #189F38
analogous
#7B189F #9F187F #9F183C
triadic
#9F187F #7F9F18 #187F9F
tetradic
#9F187F #9F7B18 #189F38 #183C9F
square
#9F187F #9F7B18 #189F38 #183C9F
split-complementary
#9F187F #3C9F18 #189F7B
monochromatic
#35082A #6A1055 #9F187F #D420A9 #E44DC0

Accessibility & contrast

On white

7.21
#9F187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F187F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F187F#FFFFFF#000000##FFFFFF
##9F187F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#A91E4C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f187f;
/* rgb */ color: rgb(159, 24, 127);
/* oklch */ color: oklch(48.3% 0.194 340.4);
Tailwind
colors: {
  custom: {
    50: '#c068a4',
    500: '#9f187f',
    950: '#000000',
  },
}
SCSS
$custom: #9f187f;
$custom-light: #c068a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f187f",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 314.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.19377,
    "h": 340.4
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#9F187F
secondary
#4DC669
accent
#F06337
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F187F

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

Preview Lab → · Contrast checker → · Palette generator →

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