#AB2E79#AB2E79

#AB2E79 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.177 H 348.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB2E79
RGBrgb(171, 46, 121)
HSLhsl(324, 58%, 43%)
HSVhsv(324, 73%, 67%)
CMYKcmyk(0%, 73.1%, 29.2%, 32.9%)
CIE-LABlab(41.21, 56.76, -13.68)
CIE-LCHlch(41.21, 58.38, 346.45°)
OKLaboklab(51.65% 0.1728 -0.036)
OKLCHoklch(51.65% 0.177 348.2)
XYZxyz(21.2238, 11.9948, 19.2830)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E79 #2EAB60
analogous
#9F2EAB #AB2E79 #AB2E3A
triadic
#AB2E79 #79AB2E #2E79AB
tetradic
#AB2E79 #AB9F2E #2EAB60 #2E3AAB
square
#AB2E79 #AB9F2E #2EAB60 #2E3AAB
split-complementary
#AB2E79 #3AAB2E #2EAB9F
monochromatic
#4B1435 #7B2157 #AB2E79 #CE4898 #DB79B4

Accessibility & contrast

On white

6.18
#AB2E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB2E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E79
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E79#FFFFFF#000000##FFFFFF
##AB2E791.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537B
Deuteranopia (green-blind)
#656976
Tritanopia (blue-blind)
#B7294F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2e79;
/* rgb */ color: rgb(171, 46, 121);
/* oklch */ color: oklch(51.7% 0.177 348.2);
Tailwind
colors: {
  custom: {
    50: '#c8729f',
    500: '#ab2e79',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e79;
$custom-light: #c8729f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e79",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 324,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.17654,
    "h": 348.2
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#AB2E79
secondary
#72C392
accent
#E18547
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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