#AB2E89#AB2E89

#AB2E89 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.186 H 341.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB2E89
RGBrgb(171, 46, 137)
HSLhsl(316, 58%, 43%)
HSVhsv(316, 73%, 67%)
CMYKcmyk(0%, 73.1%, 19.9%, 32.9%)
CIE-LABlab(41.88, 58.86, -22.49)
CIE-LCHlch(41.88, 63.01, 339.08°)
OKLaboklab(52.36% 0.1761 -0.0605)
OKLCHoklch(52.36% 0.186 341)
XYZxyz(22.2876, 12.4203, 24.8856)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E89 #2EAB50
analogous
#8F2EAB #AB2E89 #AB2E4A
triadic
#AB2E89 #89AB2E #2E89AB
tetradic
#AB2E89 #AB8F2E #2EAB50 #2E4AAB
square
#AB2E89 #AB8F2E #2EAB50 #2E4AAB
split-complementary
#AB2E89 #4AAB2E #2EAB8F
monochromatic
#4B143C #7B2162 #AB2E89 #CE48AA #DB79C0

Accessibility & contrast

On white

6.03
#AB2E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB2E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E89
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E89#FFFFFF#000000##FFFFFF
##AB2E891.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#606A86
Tritanopia (blue-blind)
#B53158
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2e89;
/* rgb */ color: rgb(171, 46, 137);
/* oklch */ color: oklch(52.4% 0.186 341.0);
Tailwind
colors: {
  custom: {
    50: '#c873ab',
    500: '#ab2e89',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e89;
$custom-light: #c873ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e89",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 316.32,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.18617,
    "h": 341
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#AB2E89
secondary
#72C388
accent
#E17147
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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