#AB2E80#AB2E80

#AB2E80 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.181 H 345.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AB2E80
RGBrgb(171, 46, 128)
HSLhsl(321, 58%, 43%)
HSVhsv(321, 73%, 67%)
CMYKcmyk(0%, 73.1%, 25.1%, 32.9%)
CIE-LABlab(41.49, 57.65, -17.57)
CIE-LCHlch(41.49, 60.27, 343.05°)
OKLaboklab(51.95% 0.1744 -0.0467)
OKLCHoklch(51.95% 0.181 345)
XYZxyz(21.6687, 12.1727, 21.6263)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E80 #2EAB59
analogous
#982EAB #AB2E80 #AB2E41
triadic
#AB2E80 #80AB2E #2E80AB
tetradic
#AB2E80 #AB982E #2EAB59 #2E41AB
square
#AB2E80 #AB982E #2EAB59 #2E41AB
split-complementary
#AB2E80 #41AB2E #2EAB98
monochromatic
#4B1438 #7B215C #AB2E80 #CE48A0 #DB79B9

Accessibility & contrast

On white

6.12
#AB2E80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB2E80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E80
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E80#FFFFFF#000000##FFFFFF
##AB2E801.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5482
Deuteranopia (green-blind)
#63697D
Tritanopia (blue-blind)
#B62C53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2e80;
/* rgb */ color: rgb(171, 46, 128);
/* oklch */ color: oklch(51.9% 0.181 345.0);
Tailwind
colors: {
  custom: {
    50: '#c872a5',
    500: '#ab2e80',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e80;
$custom-light: #c872a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e80",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 320.64,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51949,
    "c": 0.18055,
    "h": 345
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#AB2E80
secondary
#72C38E
accent
#E17C47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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