#9B4E7F#9B4E7F

#9B4E7F is a mid, moderate pink. Relative luminance 0.140; OKLCH L 53.4% C 0.119 H 343.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9B4E7F
RGBrgb(155, 78, 127)
HSLhsl(322, 33%, 46%)
HSVhsv(322, 50%, 61%)
CMYKcmyk(0%, 49.7%, 18.1%, 39.2%)
CIE-LABlab(44.16, 38.43, -13.11)
CIE-LCHlch(44.16, 40.61, 341.16°)
OKLaboklab(53.41% 0.114 -0.0348)
OKLCHoklch(53.41% 0.119 343)
XYZxyz(20.0731, 13.9511, 21.7102)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E7F #4E9B6A
analogous
#904E9B #9B4E7F #9B4E58
triadic
#9B4E7F #7F9B4E #4E7F9B
tetradic
#9B4E7F #9B904E #4E9B6A #4E589B
square
#9B4E7F #9B904E #4E9B6A #4E589B
split-complementary
#9B4E7F #589B4E #4E9B90
monochromatic
#4A253C #723A5E #9B4E7F #B76F9D #CB98B9

Accessibility & contrast

On white

5.54
#9B4E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9B4E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4E7F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4E7F#FFFFFF#000000##FFFFFF
##9B4E7F1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536181
Deuteranopia (green-blind)
#686D7D
Tritanopia (blue-blind)
#A34E61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b4e7f;
/* rgb */ color: rgb(155, 78, 127);
/* oklch */ color: oklch(53.4% 0.119 343.0);
Tailwind
colors: {
  custom: {
    50: '#ba82a4',
    500: '#9b4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e7f;
$custom-light: #ba82a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e7f",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 321.818,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.11919,
    "h": 343
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#9B4E7F
secondary
#8DB89D
accent
#C9855F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #9B4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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