#AB5477#AB5477

#AB5477 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.2% C 0.120 H 356.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB5477
RGBrgb(171, 84, 119)
HSLhsl(336, 34%, 50%)
HSVhsv(336, 51%, 67%)
CMYKcmyk(0%, 50.9%, 30.4%, 32.9%)
CIE-LABlab(47.41, 39.60, -3.17)
CIE-LCHlch(47.41, 39.72, 355.43°)
OKLaboklab(56.23% 0.12 -0.0078)
OKLCHoklch(56.23% 0.12 356.3)
XYZxyz(23.2956, 16.3326, 19.3748)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5477 #54AB88
analogous
#AB54A3 #AB5477 #AB5C54
triadic
#AB5477 #77AB54 #5477AB
tetradic
#AB5477 #A3AB54 #54AB88 #5C54AB
square
#AB5477 #A3AB54 #54AB88 #5C54AB
split-complementary
#AB5477 #54AB5C #54A3AB
monochromatic
#592C3E #82405A #AB5477 #BF7D98 #D3A6B8

Accessibility & contrast

On white

4.92
#AB5477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AB5477 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5477
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5477#FFFFFF#000000##FFFFFF
##AB54771.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606778
Deuteranopia (green-blind)
#777675
Tritanopia (blue-blind)
#B74F61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab5477;
/* rgb */ color: rgb(171, 84, 119);
/* oklch */ color: oklch(56.2% 0.120 356.3);
Tailwind
colors: {
  custom: {
    50: '#c7879e',
    500: '#ab5477',
    950: '#000000',
  },
}
SCSS
$custom: #ab5477;
$custom-light: #c7879e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5477",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 119
  },
  "hsl": {
    "h": 335.862,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.12029,
    "h": 356.3
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#AB5477
secondary
#9AC1B1
accent
#CA9F5E
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB5477

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

Preview Lab → · Contrast checker → · Palette generator →

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