#9F386B#9F386B

#9F386B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.2% C 0.146 H 353.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9F386B
RGBrgb(159, 56, 107)
HSLhsl(330, 48%, 42%)
HSVhsv(330, 65%, 62%)
CMYKcmyk(0%, 64.8%, 32.7%, 37.6%)
CIE-LABlab(40.02, 47.61, -6.97)
CIE-LCHlch(40.02, 48.11, 351.67°)
OKLaboklab(50.21% 0.1451 -0.0179)
OKLCHoklch(50.21% 0.146 353)
XYZxyz(18.3670, 11.2628, 15.1137)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F386B #389F6C
analogous
#9F389F #9F386B #9F3838
triadic
#9F386B #6B9F38 #386B9F
tetradic
#9F386B #9F9F38 #389F6C #38389F
square
#9F386B #9F9F38 #389F6C #38389F
split-complementary
#9F386B #389F38 #389F9F
monochromatic
#44182E #72284D #9F386B #C2528A #D27FA8

Accessibility & contrast

On white

6.46
#9F386B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9F386B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F386B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F386B#FFFFFF#000000##FFFFFF
##9F386B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48526C
Deuteranopia (green-blind)
#646569
Tritanopia (blue-blind)
#AB324D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f386b;
/* rgb */ color: rgb(159, 56, 107);
/* oklch */ color: oklch(50.2% 0.146 353.0);
Tailwind
colors: {
  custom: {
    50: '#bf7595',
    500: '#9f386b',
    950: '#000000',
  },
}
SCSS
$custom: #9f386b;
$custom-light: #bf7595;
$custom-dark: #000000;
JSON
{
  "hex": "#9f386b",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 330.291,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.14623,
    "h": 353
  },
  "luminance": 0.11261
}

Semantic roles & 50–950 ramp

primary
#9F386B
secondary
#77BB9A
accent
#D79550
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13090D
muted
#827B7E

Preview Lab

Preview with #9F386B

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

Preview Lab → · Contrast checker → · Palette generator →

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