#AB2D84#AB2D84

#AB2D84 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.184 H 343.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB2D84
RGBrgb(171, 45, 132)
HSLhsl(319, 58%, 42%)
HSVhsv(319, 74%, 67%)
CMYKcmyk(0%, 73.7%, 22.8%, 32.9%)
CIE-LABlab(41.54, 58.52, -19.96)
CIE-LCHlch(41.54, 61.83, 341.17°)
OKLaboklab(52.04% 0.1762 -0.0534)
OKLCHoklch(52.04% 0.184 343.1)
XYZxyz(21.8986, 12.2029, 23.0274)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D84 #2DAB54
analogous
#932DAB #AB2D84 #AB2D45
triadic
#AB2D84 #84AB2D #2D84AB
tetradic
#AB2D84 #AB932D #2DAB54 #2D45AB
square
#AB2D84 #AB932D #2DAB54 #2D45AB
split-complementary
#AB2D84 #45AB2D #2DAB93
monochromatic
#4A1439 #7B205F #AB2D84 #CE47A4 #DB77BC

Accessibility & contrast

On white

6.10
#AB2D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB2D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D84
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D84#FFFFFF#000000##FFFFFF
##AB2D841.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5586
Deuteranopia (green-blind)
#616981
Tritanopia (blue-blind)
#B62D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2d84;
/* rgb */ color: rgb(171, 45, 132);
/* oklch */ color: oklch(52.0% 0.184 343.1);
Tailwind
colors: {
  custom: {
    50: '#c872a8',
    500: '#ab2d84',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d84;
$custom-light: #c872a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d84",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 318.571,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.18414,
    "h": 343.1
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#AB2D84
secondary
#71C38A
accent
#E27646
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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