#9F387D#9F387D

#9F387D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 50.9% C 0.157 H 343.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9F387D
RGBrgb(159, 56, 125)
HSLhsl(320, 48%, 42%)
HSVhsv(320, 65%, 62%)
CMYKcmyk(0%, 64.8%, 21.4%, 37.6%)
CIE-LABlab(40.71, 50.04, -17.10)
CIE-LCHlch(40.71, 52.88, 341.13°)
OKLaboklab(50.94% 0.1499 -0.0457)
OKLCHoklch(50.94% 0.157 343.1)
XYZxyz(19.4145, 11.6818, 20.6304)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F387D #389F5A
analogous
#8E389F #9F387D #9F3849
triadic
#9F387D #7D9F38 #387D9F
tetradic
#9F387D #9F8E38 #389F5A #38499F
square
#9F387D #9F8E38 #389F5A #38499F
split-complementary
#9F387D #499F38 #389F8E
monochromatic
#441836 #722859 #9F387D #C2529D #D27FB7

Accessibility & contrast

On white

6.29
#9F387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9F387D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F387D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F387D#FFFFFF#000000##FFFFFF
##9F387D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557F
Deuteranopia (green-blind)
#5F667A
Tritanopia (blue-blind)
#A93855
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f387d;
/* rgb */ color: rgb(159, 56, 125);
/* oklch */ color: oklch(50.9% 0.157 343.1);
Tailwind
colors: {
  custom: {
    50: '#be76a2',
    500: '#9f387d',
    950: '#000000',
  },
}
SCSS
$custom: #9f387d;
$custom-light: #be76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f387d",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 319.806,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.15673,
    "h": 343.1
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

primary
#9F387D
secondary
#77BB8E
accent
#D77D50
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9F387D

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

Preview Lab → · Contrast checker → · Palette generator →

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