#AB548F#AB548F

#AB548F is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.1% C 0.135 H 341.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB548F
RGBrgb(171, 84, 143)
HSLhsl(319, 34%, 50%)
HSVhsv(319, 51%, 67%)
CMYKcmyk(0%, 50.9%, 16.4%, 32.9%)
CIE-LABlab(48.24, 43.14, -16.34)
CIE-LCHlch(48.24, 46.13, 339.25°)
OKLaboklab(57.12% 0.1274 -0.0437)
OKLCHoklch(57.12% 0.135 341.1)
XYZxyz(24.9232, 16.9836, 27.9468)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB548F #54AB70
analogous
#9B54AB #AB548F #AB5464
triadic
#AB548F #8FAB54 #548FAB
tetradic
#AB548F #AB9B54 #54AB70 #5464AB
square
#AB548F #AB9B54 #54AB70 #5464AB
split-complementary
#AB548F #64AB54 #54AB9B
monochromatic
#592C4A #82406D #AB548F #BF7DAA #D3A6C5

Accessibility & contrast

On white

4.78
#AB548F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AB548F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB548F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB548F#FFFFFF#000000##FFFFFF
##AB548F1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A91
Deuteranopia (green-blind)
#70788D
Tritanopia (blue-blind)
#B4556B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab548f;
/* rgb */ color: rgb(171, 84, 143);
/* oklch */ color: oklch(57.1% 0.135 341.1);
Tailwind
colors: {
  custom: {
    50: '#c687b0',
    500: '#ab548f',
    950: '#000000',
  },
}
SCSS
$custom: #ab548f;
$custom-light: #c687b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab548f",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 319.31,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.57122,
    "c": 0.13468,
    "h": 341.1
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

primary
#AB548F
secondary
#9AC1A6
accent
#CA815E
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB548F

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

Preview Lab → · Contrast checker → · Palette generator →

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