#AB428B#AB428B

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

Color values

HEX#AB428B
RGBrgb(171, 66, 139)
HSLhsl(318, 44%, 46%)
HSVhsv(318, 61%, 67%)
CMYKcmyk(0%, 61.4%, 18.7%, 32.9%)
CIE-LABlab(44.83, 51.19, -19.16)
CIE-LCHlch(44.83, 54.66, 339.48°)
OKLaboklab(54.54% 0.1524 -0.0513)
OKLCHoklch(54.54% 0.161 341.4)
XYZxyz(23.4036, 14.4205, 25.9719)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB428B #42AB62
analogous
#9742AB #AB428B #AB4257
triadic
#AB428B #8BAB42 #428BAB
tetradic
#AB428B #AB9742 #42AB62 #4257AB
square
#AB428B #AB9742 #42AB62 #4257AB
split-complementary
#AB428B #57AB42 #42AB97
monochromatic
#532043 #7F3167 #AB428B #C466A7 #D592C1

Accessibility & contrast

On white

5.41
#AB428B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB428B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB428B#FFFFFF#000000##FFFFFF
##AB428B1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab428b;
/* rgb */ color: rgb(171, 66, 139);
/* oklch */ color: oklch(54.5% 0.161 341.4);
Tailwind
colors: {
  custom: {
    50: '#c77dad',
    500: '#ab428b',
    950: '#000000',
  },
}
SCSS
$custom: #ab428b;
$custom-light: #c77dad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab428b",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 318.286,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.16077,
    "h": 341.4
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#AB428B
secondary
#88C099
accent
#D47B54
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB428B

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

Preview Lab → · Contrast checker → · Palette generator →

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