#AB2D81#AB2D81

#AB2D81 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.182 H 344.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB2D81
RGBrgb(171, 45, 129)
HSLhsl(320, 58%, 42%)
HSVhsv(320, 74%, 67%)
CMYKcmyk(0%, 73.7%, 24.6%, 32.9%)
CIE-LABlab(41.41, 58.12, -18.31)
CIE-LCHlch(41.41, 60.94, 342.51°)
OKLaboklab(51.91% 0.1757 -0.0488)
OKLCHoklch(51.91% 0.182 344.5)
XYZxyz(21.6963, 12.1220, 21.9618)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D81 #2DAB57
analogous
#962DAB #AB2D81 #AB2D42
triadic
#AB2D81 #81AB2D #2D81AB
tetradic
#AB2D81 #AB962D #2DAB57 #2D42AB
square
#AB2D81 #AB962D #2DAB57 #2D42AB
split-complementary
#AB2D81 #42AB2D #2DAB96
monochromatic
#4A1438 #7B205C #AB2D81 #CE47A1 #DB77BA

Accessibility & contrast

On white

6.13
#AB2D81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AB2D81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D81
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D81#FFFFFF#000000##FFFFFF
##AB2D811.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5483
Deuteranopia (green-blind)
#62697E
Tritanopia (blue-blind)
#B62C53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2d81;
/* rgb */ color: rgb(171, 45, 129);
/* oklch */ color: oklch(51.9% 0.182 344.5);
Tailwind
colors: {
  custom: {
    50: '#c872a5',
    500: '#ab2d81',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d81;
$custom-light: #c872a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d81",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 320,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51905,
    "c": 0.18231,
    "h": 344.5
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#AB2D81
secondary
#71C38C
accent
#E27A46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2D81

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

Preview Lab → · Contrast checker → · Palette generator →

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