#AB417A#AB417A

#AB417A is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.7% C 0.152 H 350.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB417A
RGBrgb(171, 65, 122)
HSLhsl(328, 45%, 46%)
HSVhsv(328, 62%, 67%)
CMYKcmyk(0%, 62%, 28.7%, 32.9%)
CIE-LABlab(44.01, 49.25, -10.05)
CIE-LCHlch(44.01, 50.26, 348.46°)
OKLaboklab(53.73% 0.1494 -0.0262)
OKLCHoklch(53.73% 0.152 350.1)
XYZxyz(22.1987, 13.8459, 19.9120)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB417A #41AB72
analogous
#A741AB #AB417A #AB4145
triadic
#AB417A #7AAB41 #417AAB
tetradic
#AB417A #ABA741 #41AB72 #4145AB
square
#AB417A #ABA741 #41AB72 #4145AB
split-complementary
#AB417A #45AB41 #41ABA7
monochromatic
#521F3B #7F305A #AB417A #C46598 #D591B6

Accessibility & contrast

On white

5.57
#AB417A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB417A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB417A#FFFFFF#000000##FFFFFF
##AB417A1.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)
#4F5C7C
Deuteranopia (green-blind)
#6C6F77
Tritanopia (blue-blind)
#B73D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab417a;
/* rgb */ color: rgb(171, 65, 122);
/* oklch */ color: oklch(53.7% 0.152 350.1);
Tailwind
colors: {
  custom: {
    50: '#c77ca0',
    500: '#ab417a',
    950: '#000000',
  },
}
SCSS
$custom: #ab417a;
$custom-light: #c77ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab417a",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 327.736,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.1517,
    "h": 350.1
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#AB417A
secondary
#87C1A2
accent
#D58F53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB417A

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

Preview Lab → · Contrast checker → · Palette generator →

#AB417A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva