#AB549B#AB549B

#AB549B is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.6% C 0.144 H 334.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB549B
RGBrgb(171, 84, 155)
HSLhsl(311, 34%, 50%)
HSVhsv(311, 51%, 67%)
CMYKcmyk(0%, 50.9%, 9.4%, 32.9%)
CIE-LABlab(48.72, 45.12, -22.75)
CIE-LCHlch(48.72, 50.53, 333.24°)
OKLaboklab(57.64% 0.1303 -0.0616)
OKLCHoklch(57.64% 0.144 334.7)
XYZxyz(25.8813, 17.3669, 32.9929)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB549B #54AB64
analogous
#8F54AB #AB549B #AB5470
triadic
#AB549B #9BAB54 #549BAB
tetradic
#AB549B #AB8F54 #54AB64 #5470AB
square
#AB549B #AB8F54 #54AB64 #5470AB
split-complementary
#AB549B #70AB54 #54AB8F
monochromatic
#592C51 #824076 #AB549B #BF7DB3 #D3A6CB

Accessibility & contrast

On white

4.69
#AB549B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AB549B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB549B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB549B#FFFFFF#000000##FFFFFF
##AB549B1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546C9D
Deuteranopia (green-blind)
#6C7899
Tritanopia (blue-blind)
#B25970
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab549b;
/* rgb */ color: rgb(171, 84, 155);
/* oklch */ color: oklch(57.6% 0.144 334.7);
Tailwind
colors: {
  custom: {
    50: '#c687b8',
    500: '#ab549b',
    950: '#000000',
  },
}
SCSS
$custom: #ab549b;
$custom-light: #c687b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab549b",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 311.034,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.14413,
    "h": 334.7
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#AB549B
secondary
#9AC1A1
accent
#CA725E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AB549B

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

Preview Lab → · Contrast checker → · Palette generator →

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