#AB549A#AB549A

#AB549A is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.6% C 0.143 H 335.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB549A
RGBrgb(171, 84, 154)
HSLhsl(312, 34%, 50%)
HSVhsv(312, 51%, 67%)
CMYKcmyk(0%, 50.9%, 9.9%, 32.9%)
CIE-LABlab(48.68, 44.95, -22.22)
CIE-LCHlch(48.68, 50.14, 333.69°)
OKLaboklab(57.59% 0.1301 -0.0601)
OKLCHoklch(57.59% 0.143 335.2)
XYZxyz(25.7977, 17.3334, 32.5525)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB549A #54AB65
analogous
#9054AB #AB549A #AB546F
triadic
#AB549A #9AAB54 #549AAB
tetradic
#AB549A #AB9054 #54AB65 #546FAB
square
#AB549A #AB9054 #54AB65 #546FAB
split-complementary
#AB549A #6FAB54 #54AB90
monochromatic
#592C50 #824075 #AB549A #BF7DB2 #D3A6CA

Accessibility & contrast

On white

4.70
#AB549A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB549A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB549A#FFFFFF#000000##FFFFFF
##AB549A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9C
Deuteranopia (green-blind)
#6D7898
Tritanopia (blue-blind)
#B25870
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab549a;
/* rgb */ color: rgb(171, 84, 154);
/* oklch */ color: oklch(57.6% 0.143 335.2);
Tailwind
colors: {
  custom: {
    50: '#c687b8',
    500: '#ab549a',
    950: '#000000',
  },
}
SCSS
$custom: #ab549a;
$custom-light: #c687b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab549a",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 311.724,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.1433,
    "h": 335.2
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#AB549A
secondary
#9AC1A2
accent
#CA735E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AB549A

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

Preview Lab → · Contrast checker → · Palette generator →

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