#AB2C79#AB2C79

#AB2C79 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.179 H 348.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB2C79
RGBrgb(171, 44, 121)
HSLhsl(324, 59%, 42%)
HSVhsv(324, 74%, 67%)
CMYKcmyk(0%, 74.3%, 29.2%, 32.9%)
CIE-LABlab(40.96, 57.44, -14.05)
CIE-LCHlch(40.96, 59.14, 346.25°)
OKLaboklab(51.47% 0.175 -0.037)
OKLCHoklch(51.47% 0.179 348.1)
XYZxyz(21.1475, 11.8421, 19.2575)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C79 #2CAB5E
analogous
#9E2CAB #AB2C79 #AB2C3A
triadic
#AB2C79 #79AB2C #2C79AB
tetradic
#AB2C79 #AB9E2C #2CAB5E #2C3AAB
square
#AB2C79 #AB9E2C #2CAB5E #2C3AAB
split-complementary
#AB2C79 #3AAB2C #2CAB9E
monochromatic
#4A1334 #7A1F57 #AB2C79 #CF4599 #DC76B4

Accessibility & contrast

On white

6.24
#AB2C79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2C79
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C79#FFFFFF#000000##FFFFFF
##AB2C791.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527B
Deuteranopia (green-blind)
#646976
Tritanopia (blue-blind)
#B7264F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2c79;
/* rgb */ color: rgb(171, 44, 121);
/* oklch */ color: oklch(51.5% 0.179 348.1);
Tailwind
colors: {
  custom: {
    50: '#c8719f',
    500: '#ab2c79',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c79;
$custom-light: #c8719f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c79",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 323.622,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.17884,
    "h": 348.1
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#AB2C79
secondary
#6FC390
accent
#E28346
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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