#AB528E#AB528E

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

Color values

HEX#AB528E
RGBrgb(171, 82, 142)
HSLhsl(320, 35%, 50%)
HSVhsv(320, 52%, 67%)
CMYKcmyk(0%, 52%, 17%, 32.9%)
CIE-LABlab(47.81, 44.00, -16.40)
CIE-LCHlch(47.81, 46.95, 339.56°)
OKLaboklab(56.79% 0.1302 -0.0438)
OKLCHoklch(56.79% 0.137 341.4)
XYZxyz(24.6948, 16.6474, 27.4986)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB528E #52AB6F
analogous
#9C52AB #AB528E #AB5261
triadic
#AB528E #8EAB52 #528EAB
tetradic
#AB528E #AB9C52 #52AB6F #5261AB
square
#AB528E #AB9C52 #52AB6F #5261AB
split-complementary
#AB528E #61AB52 #52AB9C
monochromatic
#582A49 #823E6C #AB528E #C07BA9 #D3A4C4

Accessibility & contrast

On white

4.85
#AB528E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AB528E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB528E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB528E#FFFFFF#000000##FFFFFF
##AB528E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576890
Deuteranopia (green-blind)
#70778C
Tritanopia (blue-blind)
#B45369
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab528e;
/* rgb */ color: rgb(171, 82, 142);
/* oklch */ color: oklch(56.8% 0.137 341.4);
Tailwind
colors: {
  custom: {
    50: '#c686af',
    500: '#ab528e',
    950: '#000000',
  },
}
SCSS
$custom: #ab528e;
$custom-light: #c686af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab528e",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 319.551,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.13734,
    "h": 341.4
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#AB528E
secondary
#98C1A5
accent
#CB815D
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB528E

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

Preview Lab → · Contrast checker → · Palette generator →

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