#AB428F#AB428F

#AB428F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.164 H 339.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB428F
RGBrgb(171, 66, 143)
HSLhsl(316, 44%, 46%)
HSVhsv(316, 61%, 67%)
CMYKcmyk(0%, 61.4%, 16.4%, 32.9%)
CIE-LABlab(45.00, 51.79, -21.31)
CIE-LCHlch(45.00, 56.01, 337.63°)
OKLaboklab(54.72% 0.1532 -0.0574)
OKLCHoklch(54.72% 0.164 339.5)
XYZxyz(23.7012, 14.5395, 27.5394)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB428F #42AB5E
analogous
#9342AB #AB428F #AB425B
triadic
#AB428F #8FAB42 #428FAB
tetradic
#AB428F #AB9342 #42AB5E #425BAB
square
#AB428F #AB9342 #42AB5E #425BAB
split-complementary
#AB428F #5BAB42 #42AB93
monochromatic
#532045 #7F316A #AB428F #C466AB #D592C3

Accessibility & contrast

On white

5.37
#AB428F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB428F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB428F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB428F#FFFFFF#000000##FFFFFF
##AB428F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#66718C
Tritanopia (blue-blind)
#B44562
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab428f;
/* rgb */ color: rgb(171, 66, 143);
/* oklch */ color: oklch(54.7% 0.164 339.5);
Tailwind
colors: {
  custom: {
    50: '#c77db0',
    500: '#ab428f',
    950: '#000000',
  },
}
SCSS
$custom: #ab428f;
$custom-light: #c77db0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab428f",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 316,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.16359,
    "h": 339.5
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#AB428F
secondary
#88C097
accent
#D47654
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB428F

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

Preview Lab → · Contrast checker → · Palette generator →

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