#AB528D#AB528D

#AB528D is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.8% C 0.137 H 342.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AB528D
RGBrgb(171, 82, 141)
HSLhsl(320, 35%, 50%)
HSVhsv(320, 52%, 67%)
CMYKcmyk(0%, 52%, 17.5%, 32.9%)
CIE-LABlab(47.77, 43.84, -15.86)
CIE-LCHlch(47.77, 46.62, 340.11°)
OKLaboklab(56.75% 0.1299 -0.0423)
OKLCHoklch(56.75% 0.137 342)
XYZxyz(24.6200, 16.6175, 27.1049)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB528D #52AB70
analogous
#9D52AB #AB528D #AB5260
triadic
#AB528D #8DAB52 #528DAB
tetradic
#AB528D #AB9D52 #52AB70 #5260AB
square
#AB528D #AB9D52 #52AB70 #5260AB
split-complementary
#AB528D #60AB52 #52AB9D
monochromatic
#582A49 #823E6B #AB528D #C07BA8 #D3A4C3

Accessibility & contrast

On white

4.86
#AB528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AB528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB528D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB528D#FFFFFF#000000##FFFFFF
##AB528D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57688F
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#B45369
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab528d;
/* rgb */ color: rgb(171, 82, 141);
/* oklch */ color: oklch(56.8% 0.137 342.0);
Tailwind
colors: {
  custom: {
    50: '#c686ae',
    500: '#ab528d',
    950: '#000000',
  },
}
SCSS
$custom: #ab528d;
$custom-light: #c686ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab528d",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 320.225,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5675,
    "c": 0.13661,
    "h": 342
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#AB528D
secondary
#98C1A6
accent
#CB825D
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB528D

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

Preview Lab → · Contrast checker → · Palette generator →

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