#AB428D#AB428D

#AB428D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.6% C 0.162 H 340.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB428D
RGBrgb(171, 66, 141)
HSLhsl(317, 44%, 46%)
HSVhsv(317, 61%, 67%)
CMYKcmyk(0%, 61.4%, 17.5%, 32.9%)
CIE-LABlab(44.91, 51.49, -20.24)
CIE-LCHlch(44.91, 55.32, 338.54°)
OKLaboklab(54.63% 0.1528 -0.0544)
OKLCHoklch(54.63% 0.162 340.4)
XYZxyz(23.5510, 14.4795, 26.7486)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB428D #42AB60
analogous
#9542AB #AB428D #AB4259
triadic
#AB428D #8DAB42 #428DAB
tetradic
#AB428D #AB9542 #42AB60 #4259AB
square
#AB428D #AB9542 #42AB60 #4259AB
split-complementary
#AB428D #59AB42 #42AB95
monochromatic
#532044 #7F3169 #AB428D #C466A9 #D592C2

Accessibility & contrast

On white

5.39
#AB428D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AB428D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB428D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB428D#FFFFFF#000000##FFFFFF
##AB428D1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#B54461
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab428d;
/* rgb */ color: rgb(171, 66, 141);
/* oklch */ color: oklch(54.6% 0.162 340.4);
Tailwind
colors: {
  custom: {
    50: '#c77dae',
    500: '#ab428d',
    950: '#000000',
  },
}
SCSS
$custom: #ab428d;
$custom-light: #c77dae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab428d",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 317.143,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.16217,
    "h": 340.4
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#AB428D
secondary
#88C098
accent
#D47854
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB428D

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

Preview Lab → · Contrast checker → · Palette generator →

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