#9F396F#9F396F

#9F396F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.147 H 350.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9F396F
RGBrgb(159, 57, 111)
HSLhsl(328, 47%, 42%)
HSVhsv(328, 64%, 62%)
CMYKcmyk(0%, 64.2%, 30.2%, 37.6%)
CIE-LABlab(40.32, 47.68, -9.01)
CIE-LCHlch(40.32, 48.52, 349.30°)
OKLaboklab(50.48% 0.145 -0.0234)
OKLCHoklch(50.48% 0.147 350.8)
XYZxyz(18.6313, 11.4468, 16.2641)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F396F #399F69
analogous
#9C399F #9F396F #9F393C
triadic
#9F396F #6F9F39 #396F9F
tetradic
#9F396F #9F9C39 #399F69 #393C9F
square
#9F396F #9F9C39 #399F69 #393C9F
split-complementary
#9F396F #3C9F39 #399F9C
monochromatic
#451930 #722950 #9F396F #C2548E #D281AC

Accessibility & contrast

On white

6.38
#9F396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9F396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F396F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F396F#FFFFFF#000000##FFFFFF
##9F396F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475471
Deuteranopia (green-blind)
#64666D
Tritanopia (blue-blind)
#AA344F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f396f;
/* rgb */ color: rgb(159, 57, 111);
/* oklch */ color: oklch(50.5% 0.147 350.8);
Tailwind
colors: {
  custom: {
    50: '#bf7698',
    500: '#9f396f',
    950: '#000000',
  },
}
SCSS
$custom: #9f396f;
$custom-light: #bf7698;
$custom-dark: #000000;
JSON
{
  "hex": "#9f396f",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 328.235,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.14684,
    "h": 350.8
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#9F396F
secondary
#78BB98
accent
#D79051
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090D
muted
#827B7E

Preview Lab

Preview with #9F396F

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

Preview Lab → · Contrast checker → · Palette generator →

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