#9D4E7B#9D4E7B

#9D4E7B is a mid, moderate pink. Relative luminance 0.140; OKLCH L 53.5% C 0.118 H 346.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9D4E7B
RGBrgb(157, 78, 123)
HSLhsl(326, 34%, 46%)
HSVhsv(326, 50%, 62%)
CMYKcmyk(0%, 50.3%, 21.7%, 38.4%)
CIE-LABlab(44.30, 38.48, -10.44)
CIE-LCHlch(44.30, 39.87, 344.82°)
OKLaboklab(53.52% 0.1151 -0.0275)
OKLCHoklch(53.52% 0.118 346.6)
XYZxyz(20.2046, 14.0485, 20.3825)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4E7B #4E9D70
analogous
#974E9D #9D4E7B #9D4E53
triadic
#9D4E7B #7B9D4E #4E7B9D
tetradic
#9D4E7B #9D974E #4E9D70 #4E539D
square
#9D4E7B #9D974E #4E9D70 #4E539D
split-complementary
#9D4E7B #539D4E #4E9D97
monochromatic
#4B253B #743A5B #9D4E7B #B87099 #CC99B6

Accessibility & contrast

On white

5.51
#9D4E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9D4E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4E7B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4E7B#FFFFFF#000000##FFFFFF
##9D4E7B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607D
Deuteranopia (green-blind)
#6A6E79
Tritanopia (blue-blind)
#A64D5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d4e7b;
/* rgb */ color: rgb(157, 78, 123);
/* oklch */ color: oklch(53.5% 0.118 346.6);
Tailwind
colors: {
  custom: {
    50: '#bc82a1',
    500: '#9d4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #9d4e7b;
$custom-light: #bc82a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4e7b",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 325.823,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.11832,
    "h": 346.6
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#9D4E7B
secondary
#8EB9A0
accent
#CA8C5E
background
#FBF8F9
surface
#F7EFF2
border
#D0CACC
text
#120B0F
muted
#817C7E

Preview Lab

Preview with #9D4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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