#AB2A72#AB2A72

#AB2A72 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.177 H 351.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AB2A72
RGBrgb(171, 42, 114)
HSLhsl(327, 61%, 42%)
HSVhsv(327, 75%, 67%)
CMYKcmyk(0%, 75.4%, 33.3%, 32.9%)
CIE-LABlab(40.46, 57.27, -10.46)
CIE-LCHlch(40.46, 58.22, 349.65°)
OKLaboklab(51.02% 0.1753 -0.0271)
OKLCHoklch(51.02% 0.177 351.2)
XYZxyz(20.6610, 11.5312, 17.0540)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A72 #2AAB63
analogous
#A42AAB #AB2A72 #AB2A31
triadic
#AB2A72 #72AB2A #2A72AB
tetradic
#AB2A72 #ABA42A #2AAB63 #2A31AB
square
#AB2A72 #ABA42A #2AAB63 #2A31AB
split-complementary
#AB2A72 #31AB2A #2AABA4
monochromatic
#491230 #7A1E51 #AB2A72 #D14291 #DD73AE

Accessibility & contrast

On white

6.35
#AB2A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB2A72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A72
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A72#FFFFFF#000000##FFFFFF
##AB2A721.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405174
Deuteranopia (green-blind)
#65686F
Tritanopia (blue-blind)
#B8204A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2a72;
/* rgb */ color: rgb(171, 42, 114);
/* oklch */ color: oklch(51.0% 0.177 351.2);
Tailwind
colors: {
  custom: {
    50: '#c9709a',
    500: '#ab2a72',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a72;
$custom-light: #c9709a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a72",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 326.512,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.17742,
    "h": 351.2
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#AB2A72
secondary
#6DC493
accent
#E48B44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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