#9F396C#9F396C

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

Color values

HEX#9F396C
RGBrgb(159, 57, 108)
HSLhsl(330, 47%, 42%)
HSVhsv(330, 64%, 62%)
CMYKcmyk(0%, 64.2%, 32.1%, 37.6%)
CIE-LABlab(40.22, 47.29, -7.30)
CIE-LCHlch(40.22, 47.85, 351.23°)
OKLaboklab(50.37% 0.1441 -0.0187)
OKLCHoklch(50.37% 0.145 352.6)
XYZxyz(18.4689, 11.3818, 15.4087)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F396C #399F6C
analogous
#9F399F #9F396C #9F3939
triadic
#9F396C #6C9F39 #396C9F
tetradic
#9F396C #9F9F39 #399F6C #39399F
square
#9F396C #9F9F39 #399F6C #39399F
split-complementary
#9F396C #399F39 #399F9F
monochromatic
#45192F #72294D #9F396C #C2548B #D281A9

Accessibility & contrast

On white

6.41
#9F396C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F396C
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F396C#FFFFFF#000000##FFFFFF
##9F396C1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f396c;
/* rgb */ color: rgb(159, 57, 108);
/* oklch */ color: oklch(50.4% 0.145 352.6);
Tailwind
colors: {
  custom: {
    50: '#bf7696',
    500: '#9f396c',
    950: '#000000',
  },
}
SCSS
$custom: #9f396c;
$custom-light: #bf7696;
$custom-dark: #000000;
JSON
{
  "hex": "#9f396c",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 330,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5037,
    "c": 0.14528,
    "h": 352.6
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#9F396C
secondary
#78BB9A
accent
#D79451
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13090D
muted
#827B7E

Preview Lab

Preview with #9F396C

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

Preview Lab → · Contrast checker → · Palette generator →

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