#AB428E#AB428E

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

Color values

HEX#AB428E
RGBrgb(171, 66, 142)
HSLhsl(317, 44%, 46%)
HSVhsv(317, 61%, 67%)
CMYKcmyk(0%, 61.4%, 17%, 32.9%)
CIE-LABlab(44.95, 51.64, -20.78)
CIE-LCHlch(44.95, 55.66, 338.08°)
OKLaboklab(54.68% 0.153 -0.0559)
OKLCHoklch(54.68% 0.163 339.9)
XYZxyz(23.6258, 14.5094, 27.1422)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB428E #42AB5F
analogous
#9442AB #AB428E #AB425A
triadic
#AB428E #8EAB42 #428EAB
tetradic
#AB428E #AB9442 #42AB5F #425AAB
square
#AB428E #AB9442 #42AB5F #425AAB
split-complementary
#AB428E #5AAB42 #42AB94
monochromatic
#532045 #7F3169 #AB428E #C466AA #D592C3

Accessibility & contrast

On white

5.38
#AB428E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB428E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB428E#FFFFFF#000000##FFFFFF
##AB428E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#67708B
Tritanopia (blue-blind)
#B44562
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab428e;
/* rgb */ color: rgb(171, 66, 142);
/* oklch */ color: oklch(54.7% 0.163 339.9);
Tailwind
colors: {
  custom: {
    50: '#c77daf',
    500: '#ab428e',
    950: '#000000',
  },
}
SCSS
$custom: #ab428e;
$custom-light: #c77daf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab428e",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 316.571,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.16288,
    "h": 339.9
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB428E

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

Preview Lab → · Contrast checker → · Palette generator →

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