#9F397B#9F397B

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

Color values

HEX#9F397B
RGBrgb(159, 57, 123)
HSLhsl(321, 47%, 42%)
HSVhsv(321, 64%, 62%)
CMYKcmyk(0%, 64.2%, 22.6%, 37.6%)
CIE-LABlab(40.78, 49.32, -15.75)
CIE-LCHlch(40.78, 51.78, 342.29°)
OKLaboklab(50.97% 0.1482 -0.0419)
OKLCHoklch(50.97% 0.154 344.2)
XYZxyz(19.3370, 11.7291, 19.9806)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F397B #399F5D
analogous
#90399F #9F397B #9F3948
triadic
#9F397B #7B9F39 #397B9F
tetradic
#9F397B #9F9039 #399F5D #39489F
square
#9F397B #9F9039 #399F5D #39489F
split-complementary
#9F397B #489F39 #399F90
monochromatic
#451935 #722958 #9F397B #C2549B #D281B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F397B#FFFFFF#000000##FFFFFF
##9F397B1.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)
#42557D
Deuteranopia (green-blind)
#606679
Tritanopia (blue-blind)
#A93855
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f397b;
/* rgb */ color: rgb(159, 57, 123);
/* oklch */ color: oklch(51.0% 0.154 344.2);
Tailwind
colors: {
  custom: {
    50: '#be76a1',
    500: '#9f397b',
    950: '#000000',
  },
}
SCSS
$custom: #9f397b;
$custom-light: #be76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f397b",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 321.176,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.15396,
    "h": 344.2
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#9F397B
secondary
#78BB90
accent
#D78051
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #9F397B

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

Preview Lab → · Contrast checker → · Palette generator →

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