#AB548D#AB548D

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

Color values

HEX#AB548D
RGBrgb(171, 84, 141)
HSLhsl(321, 34%, 50%)
HSVhsv(321, 51%, 67%)
CMYKcmyk(0%, 50.9%, 17.5%, 32.9%)
CIE-LABlab(48.16, 42.82, -15.27)
CIE-LCHlch(48.16, 45.46, 340.38°)
OKLaboklab(57.04% 0.1269 -0.0407)
OKLCHoklch(57.04% 0.133 342.2)
XYZxyz(24.7730, 16.9235, 27.1559)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB548D #54AB72
analogous
#9E54AB #AB548D #AB5461
triadic
#AB548D #8DAB54 #548DAB
tetradic
#AB548D #AB9E54 #54AB72 #5461AB
square
#AB548D #AB9E54 #54AB72 #5461AB
split-complementary
#AB548D #61AB54 #54AB9E
monochromatic
#592C49 #82406B #AB548D #BF7DA8 #D3A6C4

Accessibility & contrast

On white

4.79
#AB548D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AB548D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB548D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB548D#FFFFFF#000000##FFFFFF
##AB548D1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A8F
Deuteranopia (green-blind)
#71788B
Tritanopia (blue-blind)
#B4556A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab548d;
/* rgb */ color: rgb(171, 84, 141);
/* oklch */ color: oklch(57.0% 0.133 342.2);
Tailwind
colors: {
  custom: {
    50: '#c687ae',
    500: '#ab548d',
    950: '#000000',
  },
}
SCSS
$custom: #ab548d;
$custom-light: #c687ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab548d",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 320.69,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.13323,
    "h": 342.2
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#AB548D
secondary
#9AC1A7
accent
#CA835E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB548D

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

Preview Lab → · Contrast checker → · Palette generator →

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