#AB5480#AB5480

#AB5480 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.5% C 0.125 H 350.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AB5480
RGBrgb(171, 84, 128)
HSLhsl(330, 34%, 50%)
HSVhsv(330, 51%, 67%)
CMYKcmyk(0%, 50.9%, 25.1%, 32.9%)
CIE-LABlab(47.70, 40.85, -8.16)
CIE-LCHlch(47.70, 41.66, 348.70°)
OKLaboklab(56.54% 0.123 -0.0212)
OKLCHoklch(56.54% 0.125 350.2)
XYZxyz(23.8619, 16.5591, 22.3574)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5480 #54AB7F
analogous
#AB54AB #AB5480 #AB5454
triadic
#AB5480 #80AB54 #5480AB
tetradic
#AB5480 #ABAB54 #54AB7F #5454AB
square
#AB5480 #ABAB54 #54AB7F #5454AB
split-complementary
#AB5480 #54AB54 #54ABAB
monochromatic
#592C43 #824061 #AB5480 #BF7D9E #D3A6BD

Accessibility & contrast

On white

4.87
#AB5480 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AB5480 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5480
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5480#FFFFFF#000000##FFFFFF
##AB54801.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6881
Deuteranopia (green-blind)
#75777E
Tritanopia (blue-blind)
#B65165
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab5480;
/* rgb */ color: rgb(171, 84, 128);
/* oklch */ color: oklch(56.5% 0.125 350.2);
Tailwind
colors: {
  custom: {
    50: '#c687a4',
    500: '#ab5480',
    950: '#000000',
  },
}
SCSS
$custom: #ab5480;
$custom-light: #c687a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5480",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 128
  },
  "hsl": {
    "h": 329.655,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.56541,
    "c": 0.12484,
    "h": 350.2
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#AB5480
secondary
#9AC1AD
accent
#CA935E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB5480

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

Preview Lab → · Contrast checker → · Palette generator →

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