#AB507A#AB507A

#AB507A is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.7% C 0.128 H 353.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AB507A
RGBrgb(171, 80, 122)
HSLhsl(332, 36%, 49%)
HSVhsv(332, 53%, 67%)
CMYKcmyk(0%, 53.2%, 28.7%, 32.9%)
CIE-LABlab(46.71, 42.05, -6.01)
CIE-LCHlch(46.71, 42.48, 351.87°)
OKLaboklab(55.74% 0.1273 -0.0154)
OKLCHoklch(55.74% 0.128 353.1)
XYZxyz(23.1770, 15.8025, 20.2381)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB507A #50AB81
analogous
#AB50A8 #AB507A #AB5450
triadic
#AB507A #7AAB50 #507AAB
tetradic
#AB507A #A8AB50 #50AB81 #5450AB
square
#AB507A #A8AB50 #50AB81 #5450AB
split-complementary
#AB507A #50AB54 #50A8AB
monochromatic
#58293F #813C5C #AB507A #C07899 #D3A2B9

Accessibility & contrast

On white

5.05
#AB507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AB507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB507A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB507A#FFFFFF#000000##FFFFFF
##AB507A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C657B
Deuteranopia (green-blind)
#747578
Tritanopia (blue-blind)
#B64C60
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab507a;
/* rgb */ color: rgb(171, 80, 122);
/* oklch */ color: oklch(55.7% 0.128 353.1);
Tailwind
colors: {
  custom: {
    50: '#c784a0',
    500: '#ab507a',
    950: '#000000',
  },
}
SCSS
$custom: #ab507a;
$custom-light: #c784a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab507a",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 332.308,
    "s": 36.255,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55737,
    "c": 0.12824,
    "h": 353.1
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#AB507A
secondary
#96C1AD
accent
#CC985C
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB507A

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

Preview Lab → · Contrast checker → · Palette generator →

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