#9D418B#9D418B

#9D418B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.4% C 0.152 H 335.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9D418B
RGBrgb(157, 65, 139)
HSLhsl(312, 41%, 44%)
HSVhsv(312, 59%, 62%)
CMYKcmyk(0%, 58.6%, 11.5%, 38.4%)
CIE-LABlab(42.48, 47.56, -22.96)
CIE-LCHlch(42.48, 52.81, 334.23°)
OKLaboklab(52.38% 0.1385 -0.0623)
OKLCHoklch(52.38% 0.152 335.8)
XYZxyz(20.4553, 12.8143, 25.8171)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D418B #419D53
analogous
#81419D #9D418B #9D415D
triadic
#9D418B #8B9D41 #418B9D
tetradic
#9D418B #9D8141 #419D53 #415D9D
square
#9D418B #9D8141 #419D53 #415D9D
split-complementary
#9D418B #5D9D41 #419D81
monochromatic
#461D3E #722F65 #9D418B #BD5FAA #CF8AC1

Accessibility & contrast

On white

5.89
#9D418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9D418B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D418B
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D418B#FFFFFF#000000##FFFFFF
##9D418B1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8D
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#A44660
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d418b;
/* rgb */ color: rgb(157, 65, 139);
/* oklch */ color: oklch(52.4% 0.152 335.8);
Tailwind
colors: {
  custom: {
    50: '#bc7bad',
    500: '#9d418b',
    950: '#000000',
  },
}
SCSS
$custom: #9d418b;
$custom-light: #bc7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d418b",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 311.739,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52383,
    "c": 0.1518,
    "h": 335.8
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#9D418B
secondary
#80B98C
accent
#D16F57
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9D418B

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

Preview Lab → · Contrast checker → · Palette generator →

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