#AB528F#AB528F

#AB528F is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.8% C 0.138 H 340.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB528F
RGBrgb(171, 82, 143)
HSLhsl(319, 35%, 50%)
HSVhsv(319, 52%, 67%)
CMYKcmyk(0%, 52%, 16.4%, 32.9%)
CIE-LABlab(47.85, 44.15, -16.94)
CIE-LCHlch(47.85, 47.29, 339.01°)
OKLaboklab(56.83% 0.1304 -0.0453)
OKLCHoklch(56.83% 0.138 340.9)
XYZxyz(24.7702, 16.6776, 27.8957)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB528F #52AB6E
analogous
#9A52AB #AB528F #AB5263
triadic
#AB528F #8FAB52 #528FAB
tetradic
#AB528F #AB9A52 #52AB6E #5263AB
square
#AB528F #AB9A52 #52AB6E #5263AB
split-complementary
#AB528F #63AB52 #52AB9A
monochromatic
#582A4A #823E6C #AB528F #C07BAA #D3A4C4

Accessibility & contrast

On white

4.84
#AB528F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AB528F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB528F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB528F#FFFFFF#000000##FFFFFF
##AB528F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576991
Deuteranopia (green-blind)
#6F778D
Tritanopia (blue-blind)
#B4536A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab528f;
/* rgb */ color: rgb(171, 82, 143);
/* oklch */ color: oklch(56.8% 0.138 340.9);
Tailwind
colors: {
  custom: {
    50: '#c686b0',
    500: '#ab528f',
    950: '#000000',
  },
}
SCSS
$custom: #ab528f;
$custom-light: #c686b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab528f",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 318.876,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.13807,
    "h": 340.9
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB528F

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

Preview Lab → · Contrast checker → · Palette generator →

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