#9D418A#9D418A

#9D418A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.3% C 0.151 H 336.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9D418A
RGBrgb(157, 65, 138)
HSLhsl(312, 41%, 44%)
HSVhsv(312, 59%, 62%)
CMYKcmyk(0%, 58.6%, 12.1%, 38.4%)
CIE-LABlab(42.44, 47.39, -22.42)
CIE-LCHlch(42.44, 52.43, 334.68°)
OKLaboklab(52.34% 0.1383 -0.0607)
OKLCHoklch(52.34% 0.151 336.3)
XYZxyz(20.3826, 12.7852, 25.4341)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D418A #419D54
analogous
#82419D #9D418A #9D415C
triadic
#9D418A #8A9D41 #418A9D
tetradic
#9D418A #9D8241 #419D54 #415C9D
square
#9D418A #9D8241 #419D54 #415C9D
split-complementary
#9D418A #5C9D41 #419D82
monochromatic
#461D3E #722F64 #9D418A #BD5FA9 #CF8AC0

Accessibility & contrast

On white

5.90
#9D418A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D418A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D418A#FFFFFF#000000##FFFFFF
##9D418A1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#5E6988
Tritanopia (blue-blind)
#A5455F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d418a;
/* rgb */ color: rgb(157, 65, 138);
/* oklch */ color: oklch(52.3% 0.151 336.3);
Tailwind
colors: {
  custom: {
    50: '#bc7bac',
    500: '#9d418a',
    950: '#000000',
  },
}
SCSS
$custom: #9d418a;
$custom-light: #bc7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d418a",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 312.391,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.15101,
    "h": 336.3
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D418A

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

Preview Lab → · Contrast checker → · Palette generator →

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