#AB2E78#AB2E78

#AB2E78 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.176 H 348.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB2E78
RGBrgb(171, 46, 120)
HSLhsl(324, 58%, 43%)
HSVhsv(324, 73%, 67%)
CMYKcmyk(0%, 73.1%, 29.8%, 32.9%)
CIE-LABlab(41.17, 56.63, -13.12)
CIE-LCHlch(41.17, 58.13, 346.96°)
OKLaboklab(51.61% 0.1726 -0.0344)
OKLCHoklch(51.61% 0.176 348.7)
XYZxyz(21.1628, 11.9704, 18.9617)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E78 #2EAB61
analogous
#A02EAB #AB2E78 #AB2E39
triadic
#AB2E78 #78AB2E #2E78AB
tetradic
#AB2E78 #ABA02E #2EAB61 #2E39AB
square
#AB2E78 #ABA02E #2EAB61 #2E39AB
split-complementary
#AB2E78 #39AB2E #2EABA0
monochromatic
#4B1434 #7B2156 #AB2E78 #CE4897 #DB79B3

Accessibility & contrast

On white

6.19
#AB2E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB2E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E78
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E78#FFFFFF#000000##FFFFFF
##AB2E781.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2e78;
/* rgb */ color: rgb(171, 46, 120);
/* oklch */ color: oklch(51.6% 0.176 348.7);
Tailwind
colors: {
  custom: {
    50: '#c8729f',
    500: '#ab2e78',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e78;
$custom-light: #c8729f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e78",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 324.48,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51611,
    "c": 0.176,
    "h": 348.7
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

primary
#AB2E78
secondary
#72C393
accent
#E18647
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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