#AB428C#AB428C

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

Color values

HEX#AB428C
RGBrgb(171, 66, 140)
HSLhsl(318, 44%, 46%)
HSVhsv(318, 61%, 67%)
CMYKcmyk(0%, 61.4%, 18.1%, 32.9%)
CIE-LABlab(44.87, 51.34, -19.70)
CIE-LCHlch(44.87, 54.99, 339.01°)
OKLaboklab(54.59% 0.1526 -0.0528)
OKLCHoklch(54.59% 0.161 340.9)
XYZxyz(23.4770, 14.4499, 26.3585)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB428C #42AB61
analogous
#9642AB #AB428C #AB4258
triadic
#AB428C #8CAB42 #428CAB
tetradic
#AB428C #AB9642 #42AB61 #4258AB
square
#AB428C #AB9642 #42AB61 #4258AB
split-complementary
#AB428C #58AB42 #42AB96
monochromatic
#532044 #7F3168 #AB428C #C466A8 #D592C1

Accessibility & contrast

On white

5.40
#AB428C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AB428C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB428C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB428C#FFFFFF#000000##FFFFFF
##AB428C1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8E
Deuteranopia (green-blind)
#677089
Tritanopia (blue-blind)
#B54461
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab428c;
/* rgb */ color: rgb(171, 66, 140);
/* oklch */ color: oklch(54.6% 0.161 340.9);
Tailwind
colors: {
  custom: {
    50: '#c77dad',
    500: '#ab428c',
    950: '#000000',
  },
}
SCSS
$custom: #ab428c;
$custom-light: #c77dad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab428c",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 317.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.16146,
    "h": 340.9
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#AB428C
secondary
#88C099
accent
#D47A54
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB428C

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

Preview Lab → · Contrast checker → · Palette generator →

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