#AB2D89#AB2D89

#AB2D89 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.187 H 341.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB2D89
RGBrgb(171, 45, 137)
HSLhsl(316, 58%, 42%)
HSVhsv(316, 74%, 67%)
CMYKcmyk(0%, 73.7%, 19.9%, 32.9%)
CIE-LABlab(41.76, 59.20, -22.68)
CIE-LCHlch(41.76, 63.40, 339.04°)
OKLaboklab(52.27% 0.1771 -0.0611)
OKLCHoklch(52.27% 0.187 341)
XYZxyz(22.2490, 12.3431, 24.8728)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D89 #2DAB4F
analogous
#8E2DAB #AB2D89 #AB2D4A
triadic
#AB2D89 #89AB2D #2D89AB
tetradic
#AB2D89 #AB8E2D #2DAB4F #2D4AAB
square
#AB2D89 #AB8E2D #2DAB4F #2D4AAB
split-complementary
#AB2D89 #4AAB2D #2DAB8E
monochromatic
#4A143B #7B2062 #AB2D89 #CE47AA #DB77C0

Accessibility & contrast

On white

6.06
#AB2D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB2D89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D89
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D89#FFFFFF#000000##FFFFFF
##AB2D891.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#5F6A86
Tritanopia (blue-blind)
#B53057
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2d89;
/* rgb */ color: rgb(171, 45, 137);
/* oklch */ color: oklch(52.3% 0.187 341.0);
Tailwind
colors: {
  custom: {
    50: '#c872ab',
    500: '#ab2d89',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d89;
$custom-light: #c872ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d89",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 316.19,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.18732,
    "h": 341
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#AB2D89
secondary
#71C387
accent
#E27046
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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