#AB2A73#AB2A73

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

Color values

HEX#AB2A73
RGBrgb(171, 42, 115)
HSLhsl(326, 61%, 42%)
HSVhsv(326, 75%, 67%)
CMYKcmyk(0%, 75.4%, 32.7%, 32.9%)
CIE-LABlab(40.50, 57.39, -11.03)
CIE-LCHlch(40.50, 58.44, 349.12°)
OKLaboklab(51.06% 0.1756 -0.0287)
OKLCHoklch(51.06% 0.178 350.7)
XYZxyz(20.7182, 11.5541, 17.3554)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A73 #2AAB62
analogous
#A32AAB #AB2A73 #AB2A32
triadic
#AB2A73 #73AB2A #2A73AB
tetradic
#AB2A73 #ABA32A #2AAB62 #2A32AB
square
#AB2A73 #ABA32A #2AAB62 #2A32AB
split-complementary
#AB2A73 #32AB2A #2AABA3
monochromatic
#491231 #7A1E52 #AB2A73 #D14293 #DD73AF

Accessibility & contrast

On white

6.34
#AB2A73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2A73
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A73#FFFFFF#000000##FFFFFF
##AB2A731.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405175
Deuteranopia (green-blind)
#656870
Tritanopia (blue-blind)
#B8214B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2a73;
/* rgb */ color: rgb(171, 42, 115);
/* oklch */ color: oklch(51.1% 0.178 350.7);
Tailwind
colors: {
  custom: {
    50: '#c8709b',
    500: '#ab2a73',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a73;
$custom-light: #c8709b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a73",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 326.047,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.17792,
    "h": 350.7
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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