#AB2880#AB2880

#AB2880 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.187 H 344.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB2880
RGBrgb(171, 40, 128)
HSLhsl(320, 62%, 41%)
HSVhsv(320, 77%, 67%)
CMYKcmyk(0%, 76.6%, 25.1%, 32.9%)
CIE-LABlab(40.79, 59.62, -18.64)
CIE-LCHlch(40.79, 62.46, 342.64°)
OKLaboklab(51.44% 0.1805 -0.0497)
OKLCHoklch(51.44% 0.187 344.6)
XYZxyz(21.4506, 11.7364, 21.5536)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2880 #28AB53
analogous
#9528AB #AB2880 #AB283F
triadic
#AB2880 #80AB28 #2880AB
tetradic
#AB2880 #AB9528 #28AB53 #283FAB
square
#AB2880 #AB9528 #28AB53 #283FAB
split-complementary
#AB2880 #3FAB28 #28AB95
monochromatic
#481136 #791C5B #AB2880 #D23EA1 #DE70BA

Accessibility & contrast

On white

6.27
#AB2880 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB2880 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2880
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2880#FFFFFF#000000##FFFFFF
##AB28801.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385282
Deuteranopia (green-blind)
#61687D
Tritanopia (blue-blind)
#B72651
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2880;
/* rgb */ color: rgb(171, 40, 128);
/* oklch */ color: oklch(51.4% 0.187 344.6);
Tailwind
colors: {
  custom: {
    50: '#c870a5',
    500: '#ab2880',
    950: '#000000',
  },
}
SCSS
$custom: #ab2880;
$custom-light: #c870a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2880",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 319.695,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.18719,
    "h": 344.6
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#AB2880
secondary
#6AC488
accent
#E57843
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2880

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

Preview Lab → · Contrast checker → · Palette generator →

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