#AB2D78#AB2D78

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

Color values

HEX#AB2D78
RGBrgb(171, 45, 120)
HSLhsl(324, 58%, 42%)
HSVhsv(324, 74%, 67%)
CMYKcmyk(0%, 73.7%, 29.8%, 32.9%)
CIE-LABlab(41.05, 56.98, -13.31)
CIE-LCHlch(41.05, 58.51, 346.85°)
OKLaboklab(51.52% 0.1737 -0.0349)
OKLCHoklch(51.52% 0.177 348.6)
XYZxyz(21.1242, 11.8931, 18.9488)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D78 #2DAB60
analogous
#9F2DAB #AB2D78 #AB2D39
triadic
#AB2D78 #78AB2D #2D78AB
tetradic
#AB2D78 #AB9F2D #2DAB60 #2D39AB
square
#AB2D78 #AB9F2D #2DAB60 #2D39AB
split-complementary
#AB2D78 #39AB2D #2DAB9F
monochromatic
#4A1434 #7B2056 #AB2D78 #CE4798 #DB77B3

Accessibility & contrast

On white

6.22
#AB2D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AB2D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D78
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D78#FFFFFF#000000##FFFFFF
##AB2D781.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#656975
Tritanopia (blue-blind)
#B7274E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2d78;
/* rgb */ color: rgb(171, 45, 120);
/* oklch */ color: oklch(51.5% 0.177 348.6);
Tailwind
colors: {
  custom: {
    50: '#c8729f',
    500: '#ab2d78',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d78;
$custom-light: #c8729f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d78",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 324.286,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51521,
    "c": 0.17716,
    "h": 348.6
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#AB2D78
secondary
#71C392
accent
#E28546
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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