#9F397F#9F397F

#9F397F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.1% C 0.157 H 342.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9F397F
RGBrgb(159, 57, 127)
HSLhsl(319, 47%, 42%)
HSVhsv(319, 64%, 62%)
CMYKcmyk(0%, 64.2%, 20.1%, 37.6%)
CIE-LABlab(40.95, 49.90, -17.97)
CIE-LCHlch(40.95, 53.04, 340.20°)
OKLaboklab(51.15% 0.149 -0.0481)
OKLCHoklch(51.15% 0.157 342.1)
XYZxyz(19.5925, 11.8313, 21.3264)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F397F #399F59
analogous
#8C399F #9F397F #9F394C
triadic
#9F397F #7F9F39 #397F9F
tetradic
#9F397F #9F8C39 #399F59 #394C9F
square
#9F397F #9F8C39 #399F59 #394C9F
split-complementary
#9F397F #4C9F39 #399F8C
monochromatic
#451937 #72295B #9F397F #C2549F #D281B8

Accessibility & contrast

On white

6.24
#9F397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9F397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F397F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F397F#FFFFFF#000000##FFFFFF
##9F397F1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#5F677C
Tritanopia (blue-blind)
#A93A57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f397f;
/* rgb */ color: rgb(159, 57, 127);
/* oklch */ color: oklch(51.1% 0.157 342.1);
Tailwind
colors: {
  custom: {
    50: '#be76a4',
    500: '#9f397f',
    950: '#000000',
  },
}
SCSS
$custom: #9f397f;
$custom-light: #be76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f397f",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 318.824,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.15662,
    "h": 342.1
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#9F397F
secondary
#78BB8D
accent
#D77B51
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9F397F

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

Preview Lab → · Contrast checker → · Palette generator →

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