#9F396D#9F396D

#9F396D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.4% C 0.146 H 352.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9F396D
RGBrgb(159, 57, 109)
HSLhsl(329, 47%, 42%)
HSVhsv(329, 64%, 62%)
CMYKcmyk(0%, 64.2%, 31.4%, 37.6%)
CIE-LABlab(40.25, 47.42, -7.87)
CIE-LCHlch(40.25, 48.07, 350.58°)
OKLaboklab(50.41% 0.1444 -0.0203)
OKLCHoklch(50.41% 0.146 352)
XYZxyz(18.5224, 11.4033, 15.6906)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F396D #399F6B
analogous
#9E399F #9F396D #9F393A
triadic
#9F396D #6D9F39 #396D9F
tetradic
#9F396D #9F9E39 #399F6B #393A9F
square
#9F396D #9F9E39 #399F6B #393A9F
split-complementary
#9F396D #3A9F39 #399F9E
monochromatic
#45192F #72294E #9F396D #C2548C #D281AA

Accessibility & contrast

On white

6.40
#9F396D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9F396D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F396D
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F396D#FFFFFF#000000##FFFFFF
##9F396D1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536F
Deuteranopia (green-blind)
#64666B
Tritanopia (blue-blind)
#AB334E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f396d;
/* rgb */ color: rgb(159, 57, 109);
/* oklch */ color: oklch(50.4% 0.146 352.0);
Tailwind
colors: {
  custom: {
    50: '#bf7696',
    500: '#9f396d',
    950: '#000000',
  },
}
SCSS
$custom: #9f396d;
$custom-light: #bf7696;
$custom-dark: #000000;
JSON
{
  "hex": "#9f396d",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 329.412,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50407,
    "c": 0.14579,
    "h": 352
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#9F396D
secondary
#78BB99
accent
#D79351
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090D
muted
#827B7E

Preview Lab

Preview with #9F396D

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

Preview Lab → · Contrast checker → · Palette generator →

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