#9F397E#9F397E

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

Color values

HEX#9F397E
RGBrgb(159, 57, 126)
HSLhsl(319, 47%, 42%)
HSVhsv(319, 64%, 62%)
CMYKcmyk(0%, 64.2%, 20.8%, 37.6%)
CIE-LABlab(40.91, 49.75, -17.41)
CIE-LCHlch(40.91, 52.71, 340.71°)
OKLaboklab(51.1% 0.1488 -0.0465)
OKLCHoklch(51.1% 0.156 342.6)
XYZxyz(19.5277, 11.8054, 20.9848)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F397E #399F5A
analogous
#8D399F #9F397E #9F394B
triadic
#9F397E #7E9F39 #397E9F
tetradic
#9F397E #9F8D39 #399F5A #394B9F
square
#9F397E #9F8D39 #399F5A #394B9F
split-complementary
#9F397E #4B9F39 #399F8D
monochromatic
#451937 #72295A #9F397E #C2549E #D281B7

Accessibility & contrast

On white

6.25
#9F397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9F397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F397E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F397E#FFFFFF#000000##FFFFFF
##9F397E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#5F677B
Tritanopia (blue-blind)
#A93A56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f397e;
/* rgb */ color: rgb(159, 57, 126);
/* oklch */ color: oklch(51.1% 0.156 342.6);
Tailwind
colors: {
  custom: {
    50: '#be76a3',
    500: '#9f397e',
    950: '#000000',
  },
}
SCSS
$custom: #9f397e;
$custom-light: #be76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f397e",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 319.412,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.15595,
    "h": 342.6
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#9F397E
secondary
#78BB8E
accent
#D77C51
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9F397E

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

Preview Lab → · Contrast checker → · Palette generator →

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