#AB548B#AB548B

#AB548B is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.0% C 0.132 H 343.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB548B
RGBrgb(171, 84, 139)
HSLhsl(322, 34%, 50%)
HSVhsv(322, 51%, 67%)
CMYKcmyk(0%, 50.9%, 18.7%, 32.9%)
CIE-LABlab(48.09, 42.51, -14.18)
CIE-LCHlch(48.09, 44.81, 341.55°)
OKLaboklab(56.96% 0.1263 -0.0377)
OKLCHoklch(56.96% 0.132 343.4)
XYZxyz(24.6256, 16.8646, 26.3793)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB548B #54AB74
analogous
#A054AB #AB548B #AB545F
triadic
#AB548B #8BAB54 #548BAB
tetradic
#AB548B #ABA054 #54AB74 #545FAB
square
#AB548B #ABA054 #54AB74 #545FAB
split-complementary
#AB548B #5FAB54 #54ABA0
monochromatic
#592C48 #82406A #AB548B #BF7DA7 #D3A6C3

Accessibility & contrast

On white

4.80
#AB548B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AB548B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB548B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB548B#FFFFFF#000000##FFFFFF
##AB548B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698D
Deuteranopia (green-blind)
#727789
Tritanopia (blue-blind)
#B45469
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab548b;
/* rgb */ color: rgb(171, 84, 139);
/* oklch */ color: oklch(57.0% 0.132 343.4);
Tailwind
colors: {
  custom: {
    50: '#c687ad',
    500: '#ab548b',
    950: '#000000',
  },
}
SCSS
$custom: #ab548b;
$custom-light: #c687ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab548b",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 322.069,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.5696,
    "c": 0.13181,
    "h": 343.4
  },
  "luminance": 0.16863
}

Semantic roles & 50–950 ramp

primary
#AB548B
secondary
#9AC1A8
accent
#CA865E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB548B

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

Preview Lab → · Contrast checker → · Palette generator →

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