#AB2A76#AB2A76

#AB2A76 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.179 H 349.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AB2A76
RGBrgb(171, 42, 118)
HSLhsl(325, 61%, 42%)
HSVhsv(325, 75%, 67%)
CMYKcmyk(0%, 75.4%, 31%, 32.9%)
CIE-LABlab(40.61, 57.74, -12.72)
CIE-LCHlch(40.61, 59.13, 347.57°)
OKLaboklab(51.18% 0.1763 -0.0333)
OKLCHoklch(51.18% 0.179 349.3)
XYZxyz(20.8937, 11.6243, 18.2794)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A76 #2AAB5F
analogous
#A02AAB #AB2A76 #AB2A36
triadic
#AB2A76 #76AB2A #2A76AB
tetradic
#AB2A76 #ABA02A #2AAB5F #2A36AB
square
#AB2A76 #ABA02A #2AAB5F #2A36AB
split-complementary
#AB2A76 #36AB2A #2AABA0
monochromatic
#491232 #7A1E54 #AB2A76 #D14296 #DD73B1

Accessibility & contrast

On white

6.32
#AB2A76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB2A76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A76
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A76#FFFFFF#000000##FFFFFF
##AB2A761.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5178
Deuteranopia (green-blind)
#646873
Tritanopia (blue-blind)
#B8224C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2a76;
/* rgb */ color: rgb(171, 42, 118);
/* oklch */ color: oklch(51.2% 0.179 349.3);
Tailwind
colors: {
  custom: {
    50: '#c8709d',
    500: '#ab2a76',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a76;
$custom-light: #c8709d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a76",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 324.651,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51179,
    "c": 0.17946,
    "h": 349.3
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#AB2A76
secondary
#6DC491
accent
#E48644
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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