#AB5499#AB5499

#AB5499 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.5% C 0.142 H 335.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB5499
RGBrgb(171, 84, 153)
HSLhsl(312, 34%, 50%)
HSVhsv(312, 51%, 67%)
CMYKcmyk(0%, 50.9%, 10.5%, 32.9%)
CIE-LABlab(48.64, 44.78, -21.69)
CIE-LCHlch(48.64, 49.76, 334.16°)
OKLaboklab(57.55% 0.1299 -0.0586)
OKLCHoklch(57.55% 0.142 335.7)
XYZxyz(25.7148, 17.3002, 32.1157)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5499 #54AB66
analogous
#9254AB #AB5499 #AB546D
triadic
#AB5499 #99AB54 #5499AB
tetradic
#AB5499 #AB9254 #54AB66 #546DAB
square
#AB5499 #AB9254 #54AB66 #546DAB
split-complementary
#AB5499 #6DAB54 #54AB92
monochromatic
#592C50 #824074 #AB5499 #BF7DB1 #D3A6CA

Accessibility & contrast

On white

4.71
#AB5499 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB5499 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5499
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5499#FFFFFF#000000##FFFFFF
##AB54991.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556B9B
Deuteranopia (green-blind)
#6D7897
Tritanopia (blue-blind)
#B2586F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab5499;
/* rgb */ color: rgb(171, 84, 153);
/* oklch */ color: oklch(57.5% 0.142 335.7);
Tailwind
colors: {
  custom: {
    50: '#c687b7',
    500: '#ab5499',
    950: '#000000',
  },
}
SCSS
$custom: #ab5499;
$custom-light: #c687b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5499",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 153
  },
  "hsl": {
    "h": 312.414,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.57548,
    "c": 0.14248,
    "h": 335.7
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#AB5499
secondary
#9AC1A2
accent
#CA745E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB5499

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

Preview Lab → · Contrast checker → · Palette generator →

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