#9B3F79#9B3F79

#9B3F79 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.0% C 0.140 H 344.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9B3F79
RGBrgb(155, 63, 121)
HSLhsl(322, 42%, 43%)
HSVhsv(322, 59%, 61%)
CMYKcmyk(0%, 59.4%, 21.9%, 39.2%)
CIE-LABlab(41.07, 45.08, -14.14)
CIE-LCHlch(41.07, 47.24, 342.58°)
OKLaboklab(51.03% 0.1351 -0.0375)
OKLCHoklch(51.03% 0.14 344.5)
XYZxyz(18.7468, 11.9057, 19.3962)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3F79 #3F9B61
analogous
#8F3F9B #9B3F79 #9B3F4B
triadic
#9B3F79 #799B3F #3F799B
tetradic
#9B3F79 #9B8F3F #3F9B61 #3F4B9B
square
#9B3F79 #9B8F3F #3F9B61 #3F4B9B
split-complementary
#9B3F79 #4B9B3F #3F9B8F
monochromatic
#441C35 #6F2D57 #9B3F79 #BC5B98 #CE86B4

Accessibility & contrast

On white

6.21
#9B3F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9B3F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3F79
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3F79#FFFFFF#000000##FFFFFF
##9B3F791.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577B
Deuteranopia (green-blind)
#616777
Tritanopia (blue-blind)
#A43E56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b3f79;
/* rgb */ color: rgb(155, 63, 121);
/* oklch */ color: oklch(51.0% 0.140 344.5);
Tailwind
colors: {
  custom: {
    50: '#bb799f',
    500: '#9b3f79',
    950: '#000000',
  },
}
SCSS
$custom: #9b3f79;
$custom-light: #bb799f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3f79",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 322.174,
    "s": 42.202,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.14017,
    "h": 344.5
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#9B3F79
secondary
#7DB893
accent
#D28456
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #9B3F79

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

Preview Lab → · Contrast checker → · Palette generator →

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