#AB2E86#AB2E86

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

Color values

HEX#AB2E86
RGBrgb(171, 46, 134)
HSLhsl(318, 58%, 43%)
HSVhsv(318, 73%, 67%)
CMYKcmyk(0%, 73.1%, 21.6%, 32.9%)
CIE-LABlab(41.74, 58.45, -20.86)
CIE-LCHlch(41.74, 62.06, 340.36°)
OKLaboklab(52.22% 0.1756 -0.056)
OKLCHoklch(52.22% 0.184 342.3)
XYZxyz(22.0754, 12.3354, 23.7680)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E86 #2EAB53
analogous
#922EAB #AB2E86 #AB2E47
triadic
#AB2E86 #86AB2E #2E86AB
tetradic
#AB2E86 #AB922E #2EAB53 #2E47AB
square
#AB2E86 #AB922E #2EAB53 #2E47AB
split-complementary
#AB2E86 #47AB2E #2EAB92
monochromatic
#4B143A #7B2160 #AB2E86 #CE48A6 #DB79BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2E86#FFFFFF#000000##FFFFFF
##AB2E861.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)
#3A5588
Deuteranopia (green-blind)
#616A83
Tritanopia (blue-blind)
#B62F56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2e86;
/* rgb */ color: rgb(171, 46, 134);
/* oklch */ color: oklch(52.2% 0.184 342.3);
Tailwind
colors: {
  custom: {
    50: '#c872a9',
    500: '#ab2e86',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e86;
$custom-light: #c872a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e86",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 317.76,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.18425,
    "h": 342.3
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#AB2E86
secondary
#72C38A
accent
#E17547
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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