#AB427A#AB427A

#AB427A is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.8% C 0.150 H 350.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB427A
RGBrgb(171, 66, 122)
HSLhsl(328, 44%, 46%)
HSVhsv(328, 61%, 67%)
CMYKcmyk(0%, 61.4%, 28.7%, 32.9%)
CIE-LABlab(44.18, 48.80, -9.80)
CIE-LCHlch(44.18, 49.77, 348.64°)
OKLaboklab(53.85% 0.148 -0.0255)
OKLCHoklch(53.85% 0.15 350.2)
XYZxyz(22.2566, 13.9617, 19.9313)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB427A #42AB73
analogous
#A842AB #AB427A #AB4246
triadic
#AB427A #7AAB42 #427AAB
tetradic
#AB427A #ABA842 #42AB73 #4246AB
square
#AB427A #ABA842 #42AB73 #4246AB
split-complementary
#AB427A #46AB42 #42ABA8
monochromatic
#53203B #7F315A #AB427A #C46698 #D592B6

Accessibility & contrast

On white

5.54
#AB427A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AB427A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB427A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB427A#FFFFFF#000000##FFFFFF
##AB427A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7C
Deuteranopia (green-blind)
#6D6F77
Tritanopia (blue-blind)
#B73E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab427a;
/* rgb */ color: rgb(171, 66, 122);
/* oklch */ color: oklch(53.8% 0.150 350.2);
Tailwind
colors: {
  custom: {
    50: '#c77ca0',
    500: '#ab427a',
    950: '#000000',
  },
}
SCSS
$custom: #ab427a;
$custom-light: #c77ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab427a",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 328,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.1502,
    "h": 350.2
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#AB427A
secondary
#88C0A3
accent
#D49054
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB427A

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

Preview Lab → · Contrast checker → · Palette generator →

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