#AB548C#AB548C

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

Color values

HEX#AB548C
RGBrgb(171, 84, 140)
HSLhsl(321, 34%, 50%)
HSVhsv(321, 51%, 67%)
CMYKcmyk(0%, 50.9%, 18.1%, 32.9%)
CIE-LABlab(48.13, 42.66, -14.72)
CIE-LCHlch(48.13, 45.13, 340.96°)
OKLaboklab(57% 0.1266 -0.0392)
OKLCHoklch(57% 0.133 342.8)
XYZxyz(24.6990, 16.8939, 26.7658)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB548C #54AB73
analogous
#9E54AB #AB548C #AB5461
triadic
#AB548C #8CAB54 #548CAB
tetradic
#AB548C #AB9E54 #54AB73 #5461AB
square
#AB548C #AB9E54 #54AB73 #5461AB
split-complementary
#AB548C #61AB54 #54AB9E
monochromatic
#592C49 #82406A #AB548C #BF7DA8 #D3A6C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB548C#FFFFFF#000000##FFFFFF
##AB548C1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698E
Deuteranopia (green-blind)
#71778A
Tritanopia (blue-blind)
#B4546A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab548c;
/* rgb */ color: rgb(171, 84, 140);
/* oklch */ color: oklch(57.0% 0.133 342.8);
Tailwind
colors: {
  custom: {
    50: '#c687ad',
    500: '#ab548c',
    950: '#000000',
  },
}
SCSS
$custom: #ab548c;
$custom-light: #c687ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab548c",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 321.379,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.57,
    "c": 0.13252,
    "h": 342.8
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB548C

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

Preview Lab → · Contrast checker → · Palette generator →

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