#AB2D77#AB2D77

#AB2D77 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.177 H 349.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB2D77
RGBrgb(171, 45, 119)
HSLhsl(325, 58%, 42%)
HSVhsv(325, 74%, 67%)
CMYKcmyk(0%, 73.7%, 30.4%, 32.9%)
CIE-LABlab(41.01, 56.86, -12.75)
CIE-LCHlch(41.01, 58.27, 347.37°)
OKLaboklab(51.48% 0.1734 -0.0334)
OKLCHoklch(51.48% 0.177 349.1)
XYZxyz(21.0638, 11.8690, 18.6309)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D77 #2DAB61
analogous
#A02DAB #AB2D77 #AB2D38
triadic
#AB2D77 #77AB2D #2D77AB
tetradic
#AB2D77 #ABA02D #2DAB61 #2D38AB
square
#AB2D77 #ABA02D #2DAB61 #2D38AB
split-complementary
#AB2D77 #38AB2D #2DABA0
monochromatic
#4A1434 #7B2055 #AB2D77 #CE4796 #DB77B2

Accessibility & contrast

On white

6.23
#AB2D77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2D77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D77
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D77#FFFFFF#000000##FFFFFF
##AB2D771.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405379
Deuteranopia (green-blind)
#656974
Tritanopia (blue-blind)
#B7264E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2d77;
/* rgb */ color: rgb(171, 45, 119);
/* oklch */ color: oklch(51.5% 0.177 349.1);
Tailwind
colors: {
  custom: {
    50: '#c8729e',
    500: '#ab2d77',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d77;
$custom-light: #c8729e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d77",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 324.762,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.17662,
    "h": 349.1
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#AB2D77
secondary
#71C393
accent
#E28646
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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