#9F397A#9F397A

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

Color values

HEX#9F397A
RGBrgb(159, 57, 122)
HSLhsl(322, 47%, 42%)
HSVhsv(322, 64%, 62%)
CMYKcmyk(0%, 64.2%, 23.3%, 37.6%)
CIE-LABlab(40.74, 49.18, -15.20)
CIE-LCHlch(40.74, 51.47, 342.83°)
OKLaboklab(50.93% 0.1479 -0.0404)
OKLCHoklch(50.93% 0.153 344.7)
XYZxyz(19.2747, 11.7042, 19.6526)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F397A #399F5E
analogous
#91399F #9F397A #9F3947
triadic
#9F397A #7A9F39 #397A9F
tetradic
#9F397A #9F9139 #399F5E #39479F
square
#9F397A #9F9139 #399F5E #39479F
split-complementary
#9F397A #479F39 #399F91
monochromatic
#451935 #722957 #9F397A #C2549A #D281B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F397A#FFFFFF#000000##FFFFFF
##9F397A1.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)
#43557C
Deuteranopia (green-blind)
#606678
Tritanopia (blue-blind)
#A93854
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f397a;
/* rgb */ color: rgb(159, 57, 122);
/* oklch */ color: oklch(50.9% 0.153 344.7);
Tailwind
colors: {
  custom: {
    50: '#bf76a0',
    500: '#9f397a',
    950: '#000000',
  },
}
SCSS
$custom: #9f397a;
$custom-light: #bf76a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f397a",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 321.765,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.15332,
    "h": 344.7
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#9F397A
secondary
#78BB91
accent
#D78251
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #9F397A

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

Preview Lab → · Contrast checker → · Palette generator →

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