#AB2A89#AB2A89

#AB2A89 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.191 H 340.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB2A89
RGBrgb(171, 42, 137)
HSLhsl(316, 61%, 42%)
HSVhsv(316, 75%, 67%)
CMYKcmyk(0%, 75.4%, 19.9%, 32.9%)
CIE-LABlab(41.41, 60.18, -23.22)
CIE-LCHlch(41.41, 64.51, 338.90°)
OKLaboklab(52.02% 0.1801 -0.0626)
OKLCHoklch(52.02% 0.191 340.8)
XYZxyz(22.1386, 12.1222, 24.8360)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A89 #2AAB4C
analogous
#8D2AAB #AB2A89 #AB2A49
triadic
#AB2A89 #89AB2A #2A89AB
tetradic
#AB2A89 #AB8D2A #2AAB4C #2A49AB
square
#AB2A89 #AB8D2A #2AAB4C #2A49AB
split-complementary
#AB2A89 #49AB2A #2AAB8D
monochromatic
#49123A #7A1E62 #AB2A89 #D142AB #DD73C1

Accessibility & contrast

On white

6.13
#AB2A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AB2A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A89
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A89#FFFFFF#000000##FFFFFF
##AB2A891.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548C
Deuteranopia (green-blind)
#5E6986
Tritanopia (blue-blind)
#B52D56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2a89;
/* rgb */ color: rgb(171, 42, 137);
/* oklch */ color: oklch(52.0% 0.191 340.8);
Tailwind
colors: {
  custom: {
    50: '#c871ab',
    500: '#ab2a89',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a89;
$custom-light: #c871ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a89",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 315.814,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.19064,
    "h": 340.8
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#AB2A89
secondary
#6DC484
accent
#E46E44
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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