#AB2A74#AB2A74

#AB2A74 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.178 H 350.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB2A74
RGBrgb(171, 42, 116)
HSLhsl(326, 61%, 42%)
HSVhsv(326, 75%, 67%)
CMYKcmyk(0%, 75.4%, 32.2%, 32.9%)
CIE-LABlab(40.54, 57.50, -11.59)
CIE-LCHlch(40.54, 58.66, 348.60°)
OKLaboklab(51.1% 0.1758 -0.0302)
OKLCHoklch(51.1% 0.178 350.3)
XYZxyz(20.7761, 11.5772, 17.6601)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A74 #2AAB61
analogous
#A12AAB #AB2A74 #AB2A34
triadic
#AB2A74 #74AB2A #2A74AB
tetradic
#AB2A74 #ABA12A #2AAB61 #2A34AB
square
#AB2A74 #ABA12A #2AAB61 #2A34AB
split-complementary
#AB2A74 #34AB2A #2AABA1
monochromatic
#491231 #7A1E53 #AB2A74 #D14294 #DD73AF

Accessibility & contrast

On white

6.33
#AB2A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2A74
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A74#FFFFFF#000000##FFFFFF
##AB2A741.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#656871
Tritanopia (blue-blind)
#B8214B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2a74;
/* rgb */ color: rgb(171, 42, 116);
/* oklch */ color: oklch(51.1% 0.178 350.3);
Tailwind
colors: {
  custom: {
    50: '#c8709c',
    500: '#ab2a74',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a74;
$custom-light: #c8709c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a74",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 325.581,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.17842,
    "h": 350.3
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#AB2A74
secondary
#6DC492
accent
#E48844
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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