#AB428A#AB428A

#AB428A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.5% C 0.160 H 341.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB428A
RGBrgb(171, 66, 138)
HSLhsl(319, 44%, 46%)
HSVhsv(319, 61%, 67%)
CMYKcmyk(0%, 61.4%, 19.3%, 32.9%)
CIE-LABlab(44.79, 51.04, -18.61)
CIE-LCHlch(44.79, 54.33, 339.96°)
OKLaboklab(54.5% 0.1521 -0.0498)
OKLCHoklch(54.5% 0.16 341.9)
XYZxyz(23.3308, 14.3914, 25.5889)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB428A #42AB63
analogous
#9842AB #AB428A #AB4256
triadic
#AB428A #8AAB42 #428AAB
tetradic
#AB428A #AB9842 #42AB63 #4256AB
square
#AB428A #AB9842 #42AB63 #4256AB
split-complementary
#AB428A #56AB42 #42AB98
monochromatic
#532043 #7F3166 #AB428A #C466A7 #D592C0

Accessibility & contrast

On white

5.42
#AB428A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB428A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB428A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB428A#FFFFFF#000000##FFFFFF
##AB428A1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#687087
Tritanopia (blue-blind)
#B54360
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab428a;
/* rgb */ color: rgb(171, 66, 138);
/* oklch */ color: oklch(54.5% 0.160 341.9);
Tailwind
colors: {
  custom: {
    50: '#c77cac',
    500: '#ab428a',
    950: '#000000',
  },
}
SCSS
$custom: #ab428a;
$custom-light: #c77cac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab428a",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 318.857,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.545,
    "c": 0.16008,
    "h": 341.9
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#AB428A
secondary
#88C09A
accent
#D47C54
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB428A

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

Preview Lab → · Contrast checker → · Palette generator →

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