#AB518F#AB518F

#AB518F is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.7% C 0.140 H 340.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB518F
RGBrgb(171, 81, 143)
HSLhsl(319, 36%, 49%)
HSVhsv(319, 53%, 67%)
CMYKcmyk(0%, 52.6%, 16.4%, 32.9%)
CIE-LABlab(47.66, 44.66, -17.23)
CIE-LCHlch(47.66, 47.87, 338.90°)
OKLaboklab(56.69% 0.1319 -0.0461)
OKLCHoklch(56.69% 0.14 340.7)
XYZxyz(24.6953, 16.5278, 27.8708)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB518F #51AB6D
analogous
#9A51AB #AB518F #AB5162
triadic
#AB518F #8FAB51 #518FAB
tetradic
#AB518F #AB9A51 #51AB6D #5162AB
square
#AB518F #AB9A51 #51AB6D #5162AB
split-complementary
#AB518F #62AB51 #51AB9A
monochromatic
#582A4A #813D6C #AB518F #C079AA #D3A3C4

Accessibility & contrast

On white

4.88
#AB518F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AB518F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB518F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB518F#FFFFFF#000000##FFFFFF
##AB518F1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566891
Deuteranopia (green-blind)
#6F768D
Tritanopia (blue-blind)
#B45269
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab518f;
/* rgb */ color: rgb(171, 81, 143);
/* oklch */ color: oklch(56.7% 0.140 340.7);
Tailwind
colors: {
  custom: {
    50: '#c685b0',
    500: '#ab518f',
    950: '#000000',
  },
}
SCSS
$custom: #ab518f;
$custom-light: #c685b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab518f",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 318.667,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.13974,
    "h": 340.7
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

primary
#AB518F
secondary
#97C1A4
accent
#CC7F5C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB518F

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

Preview Lab → · Contrast checker → · Palette generator →

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