#9B4E7B#9B4E7B

#9B4E7B is a mid, moderate pink. Relative luminance 0.138; OKLCH L 53.3% C 0.116 H 345.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9B4E7B
RGBrgb(155, 78, 123)
HSLhsl(325, 33%, 46%)
HSVhsv(325, 50%, 61%)
CMYKcmyk(0%, 49.7%, 20.6%, 39.2%)
CIE-LABlab(44.02, 37.80, -10.90)
CIE-LCHlch(44.02, 39.34, 343.91°)
OKLaboklab(53.25% 0.1128 -0.0287)
OKLCHoklch(53.25% 0.116 345.7)
XYZxyz(19.8175, 13.8489, 20.3644)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E7B #4E9B6E
analogous
#944E9B #9B4E7B #9B4E54
triadic
#9B4E7B #7B9B4E #4E7B9B
tetradic
#9B4E7B #9B944E #4E9B6E #4E549B
square
#9B4E7B #9B944E #4E9B6E #4E549B
split-complementary
#9B4E7B #549B4E #4E9B94
monochromatic
#4A253A #723A5B #9B4E7B #B76F99 #CB98B6

Accessibility & contrast

On white

5.57
#9B4E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9B4E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4E7B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4E7B#FFFFFF#000000##FFFFFF
##9B4E7B1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607D
Deuteranopia (green-blind)
#696D79
Tritanopia (blue-blind)
#A44D5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b4e7b;
/* rgb */ color: rgb(155, 78, 123);
/* oklch */ color: oklch(53.3% 0.116 345.7);
Tailwind
colors: {
  custom: {
    50: '#ba82a1',
    500: '#9b4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e7b;
$custom-light: #ba82a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e7b",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 324.935,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.1164,
    "h": 345.7
  },
  "luminance": 0.13847
}

Semantic roles & 50–950 ramp

primary
#9B4E7B
secondary
#8DB89F
accent
#C98B5F
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0F
muted
#817C7E

Preview Lab

Preview with #9B4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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