#AB4E8A#AB4E8A

#AB4E8A is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.1% C 0.141 H 343.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AB4E8A
RGBrgb(171, 78, 138)
HSLhsl(321, 37%, 49%)
HSVhsv(321, 54%, 67%)
CMYKcmyk(0%, 54.4%, 19.3%, 32.9%)
CIE-LABlab(46.90, 45.38, -15.39)
CIE-LCHlch(46.90, 47.91, 341.27°)
OKLaboklab(56.06% 0.1351 -0.0409)
OKLCHoklch(56.06% 0.141 343.1)
XYZxyz(24.1069, 15.9437, 25.8476)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E8A #4EAB6F
analogous
#9E4EAB #AB4E8A #AB4E5C
triadic
#AB4E8A #8AAB4E #4E8AAB
tetradic
#AB4E8A #AB9E4E #4EAB6F #4E5CAB
square
#AB4E8A #AB9E4E #4EAB6F #4E5CAB
split-complementary
#AB4E8A #5CAB4E #4EAB9E
monochromatic
#572846 #813B68 #AB4E8A #C076A6 #D4A0C1

Accessibility & contrast

On white

5.01
#AB4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AB4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E8A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E8A#FFFFFF#000000##FFFFFF
##AB4E8A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#6E7588
Tritanopia (blue-blind)
#B54E66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab4e8a;
/* rgb */ color: rgb(171, 78, 138);
/* oklch */ color: oklch(56.1% 0.141 343.1);
Tailwind
colors: {
  custom: {
    50: '#c683ac',
    500: '#ab4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e8a;
$custom-light: #c683ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e8a",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 321.29,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.14116,
    "h": 343.1
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#AB4E8A
secondary
#94C1A4
accent
#CD835A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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