#AB2A80#AB2A80

#AB2A80 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.185 H 344.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AB2A80
RGBrgb(171, 42, 128)
HSLhsl(320, 61%, 42%)
HSVhsv(320, 75%, 67%)
CMYKcmyk(0%, 75.4%, 25.1%, 32.9%)
CIE-LABlab(41.02, 58.98, -18.30)
CIE-LCHlch(41.02, 61.76, 342.77°)
OKLaboklab(51.61% 0.1785 -0.0487)
OKLCHoklch(51.61% 0.185 344.7)
XYZxyz(21.5197, 11.8747, 21.5766)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A80 #2AAB55
analogous
#962AAB #AB2A80 #AB2A40
triadic
#AB2A80 #80AB2A #2A80AB
tetradic
#AB2A80 #AB962A #2AAB55 #2A40AB
square
#AB2A80 #AB962A #2AAB55 #2A40AB
split-complementary
#AB2A80 #40AB2A #2AAB96
monochromatic
#491236 #7A1E5B #AB2A80 #D142A1 #DD73B9

Accessibility & contrast

On white

6.22
#AB2A80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2A80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A80
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A80#FFFFFF#000000##FFFFFF
##AB2A801.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5382
Deuteranopia (green-blind)
#61697D
Tritanopia (blue-blind)
#B72852
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2a80;
/* rgb */ color: rgb(171, 42, 128);
/* oklch */ color: oklch(51.6% 0.185 344.7);
Tailwind
colors: {
  custom: {
    50: '#c871a5',
    500: '#ab2a80',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a80;
$custom-light: #c871a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a80",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 320,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.18506,
    "h": 344.7
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#AB2A80
secondary
#6DC48A
accent
#E47944
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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