#9F387E#9F387E

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

Color values

HEX#9F387E
RGBrgb(159, 56, 126)
HSLhsl(319, 48%, 42%)
HSVhsv(319, 65%, 62%)
CMYKcmyk(0%, 64.8%, 20.8%, 37.6%)
CIE-LABlab(40.75, 50.19, -17.66)
CIE-LCHlch(40.75, 53.20, 340.62°)
OKLaboklab(50.99% 0.1502 -0.0472)
OKLCHoklch(50.99% 0.157 342.5)
XYZxyz(19.4787, 11.7075, 20.9685)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F387E #389F59
analogous
#8C389F #9F387E #9F384B
triadic
#9F387E #7E9F38 #387E9F
tetradic
#9F387E #9F8C38 #389F59 #384B9F
square
#9F387E #9F8C38 #389F59 #384B9F
split-complementary
#9F387E #4B9F38 #389F8C
monochromatic
#441836 #72285A #9F387E #C2529E #D27FB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F387E#FFFFFF#000000##FFFFFF
##9F387E1.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)
#405580
Deuteranopia (green-blind)
#5F667B
Tritanopia (blue-blind)
#A93956
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f387e;
/* rgb */ color: rgb(159, 56, 126);
/* oklch */ color: oklch(51.0% 0.157 342.5);
Tailwind
colors: {
  custom: {
    50: '#be76a3',
    500: '#9f387e',
    950: '#000000',
  },
}
SCSS
$custom: #9f387e;
$custom-light: #be76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f387e",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 319.223,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50988,
    "c": 0.1574,
    "h": 342.5
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#9F387E
secondary
#77BB8D
accent
#D77C50
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9F387E

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

Preview Lab → · Contrast checker → · Palette generator →

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