#AB2E84#AB2E84

#AB2E84 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.183 H 343.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AB2E84
RGBrgb(171, 46, 132)
HSLhsl(319, 58%, 43%)
HSVhsv(319, 73%, 67%)
CMYKcmyk(0%, 73.1%, 22.8%, 32.9%)
CIE-LABlab(41.66, 58.18, -19.77)
CIE-LCHlch(41.66, 61.45, 341.23°)
OKLaboklab(52.13% 0.1752 -0.0529)
OKLCHoklch(52.13% 0.183 343.2)
XYZxyz(21.9372, 12.2801, 23.0403)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E84 #2EAB55
analogous
#942EAB #AB2E84 #AB2E45
triadic
#AB2E84 #84AB2E #2E84AB
tetradic
#AB2E84 #AB942E #2EAB55 #2E45AB
square
#AB2E84 #AB942E #2EAB55 #2E45AB
split-complementary
#AB2E84 #45AB2E #2EAB94
monochromatic
#4B143A #7B215F #AB2E84 #CE48A4 #DB79BC

Accessibility & contrast

On white

6.08
#AB2E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AB2E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E84
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E84#FFFFFF#000000##FFFFFF
##AB2E841.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5586
Deuteranopia (green-blind)
#616A81
Tritanopia (blue-blind)
#B62E55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2e84;
/* rgb */ color: rgb(171, 46, 132);
/* oklch */ color: oklch(52.1% 0.183 343.2);
Tailwind
colors: {
  custom: {
    50: '#c872a8',
    500: '#ab2e84',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e84;
$custom-light: #c872a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e84",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 318.72,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.183,
    "h": 343.2
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#AB2E84
secondary
#72C38B
accent
#E17747
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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