#AB529B#AB529B

#AB529B is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.4% C 0.147 H 334.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB529B
RGBrgb(171, 82, 155)
HSLhsl(311, 35%, 50%)
HSVhsv(311, 52%, 67%)
CMYKcmyk(0%, 52%, 9.4%, 32.9%)
CIE-LABlab(48.34, 46.13, -23.34)
CIE-LCHlch(48.34, 51.70, 333.16°)
OKLaboklab(57.35% 0.1332 -0.0633)
OKLCHoklch(57.35% 0.147 334.6)
XYZxyz(25.7283, 17.0608, 32.9419)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB529B #52AB62
analogous
#8F52AB #AB529B #AB526E
triadic
#AB529B #9BAB52 #529BAB
tetradic
#AB529B #AB8F52 #52AB62 #526EAB
square
#AB529B #AB8F52 #52AB62 #526EAB
split-complementary
#AB529B #6EAB52 #52AB8F
monochromatic
#582A50 #823E76 #AB529B #C07BB3 #D3A4CB

Accessibility & contrast

On white

4.76
#AB529B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AB529B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB529B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB529B#FFFFFF#000000##FFFFFF
##AB529B1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9D
Deuteranopia (green-blind)
#6B7899
Tritanopia (blue-blind)
#B2576F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab529b;
/* rgb */ color: rgb(171, 82, 155);
/* oklch */ color: oklch(57.4% 0.147 334.6);
Tailwind
colors: {
  custom: {
    50: '#c686b8',
    500: '#ab529b',
    950: '#000000',
  },
}
SCSS
$custom: #ab529b;
$custom-light: #c686b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab529b",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 310.787,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.14749,
    "h": 334.6
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#AB529B
secondary
#98C19F
accent
#CB705D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB529B

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

Preview Lab → · Contrast checker → · Palette generator →

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