#9F387F#9F387F

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

Color values

HEX#9F387F
RGBrgb(159, 56, 127)
HSLhsl(319, 48%, 42%)
HSVhsv(319, 65%, 62%)
CMYKcmyk(0%, 64.8%, 20.1%, 37.6%)
CIE-LABlab(40.79, 50.33, -18.21)
CIE-LCHlch(40.79, 53.53, 340.11°)
OKLaboklab(51.03% 0.1504 -0.0487)
OKLCHoklch(51.03% 0.158 342)
XYZxyz(19.5435, 11.7334, 21.3100)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F387F #389F58
analogous
#8C389F #9F387F #9F384B
triadic
#9F387F #7F9F38 #387F9F
tetradic
#9F387F #9F8C38 #389F58 #384B9F
square
#9F387F #9F8C38 #389F58 #384B9F
split-complementary
#9F387F #4B9F38 #389F8C
monochromatic
#441837 #72285B #9F387F #C2529F #D27FB8

Accessibility & contrast

On white

6.28
#9F387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9F387F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F387F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F387F#FFFFFF#000000##FFFFFF
##9F387F1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405581
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#A93956
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f387f;
/* rgb */ color: rgb(159, 56, 127);
/* oklch */ color: oklch(51.0% 0.158 342.0);
Tailwind
colors: {
  custom: {
    50: '#be76a4',
    500: '#9f387f',
    950: '#000000',
  },
}
SCSS
$custom: #9f387f;
$custom-light: #be76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f387f",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 318.641,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.15807,
    "h": 342
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#9F387F
secondary
#77BB8C
accent
#D77A50
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9F387F

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

Preview Lab → · Contrast checker → · Palette generator →

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