#9A417D#9A417D

#9A417D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.3% C 0.139 H 342.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9A417D
RGBrgb(154, 65, 125)
HSLhsl(320, 41%, 43%)
HSVhsv(320, 58%, 60%)
CMYKcmyk(0%, 57.8%, 18.8%, 39.6%)
CIE-LABlab(41.43, 44.41, -16.07)
CIE-LCHlch(41.43, 47.23, 340.11°)
OKLaboklab(51.32% 0.1321 -0.0429)
OKLCHoklch(51.32% 0.139 342)
XYZxyz(18.9188, 12.1329, 20.7435)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A417D #419A5E
analogous
#8A419A #9A417D #9A4150
triadic
#9A417D #7D9A41 #417D9A
tetradic
#9A417D #9A8A41 #419A5E #41509A
square
#9A417D #9A8A41 #419A5E #41509A
split-complementary
#9A417D #509A41 #419A8A
monochromatic
#441D37 #6F2F5A #9A417D #BB5D9C #CD88B7

Accessibility & contrast

On white

6.13
#9A417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9A417D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A417D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A417D#FFFFFF#000000##FFFFFF
##9A417D1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47597F
Deuteranopia (green-blind)
#60677B
Tritanopia (blue-blind)
#A34259
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a417d;
/* rgb */ color: rgb(154, 65, 125);
/* oklch */ color: oklch(51.3% 0.139 342.0);
Tailwind
colors: {
  custom: {
    50: '#ba7aa2',
    500: '#9a417d',
    950: '#000000',
  },
}
SCSS
$custom: #9a417d;
$custom-light: #ba7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a417d",
  "rgb": {
    "r": 154,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 319.551,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.13887,
    "h": 342
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#9A417D
secondary
#7FB892
accent
#D07F57
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9A417D

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

Preview Lab → · Contrast checker → · Palette generator →

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