#AB2E88#AB2E88

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

Color values

HEX#AB2E88
RGBrgb(171, 46, 136)
HSLhsl(317, 58%, 43%)
HSVhsv(317, 73%, 67%)
CMYKcmyk(0%, 73.1%, 20.5%, 32.9%)
CIE-LABlab(41.83, 58.72, -21.95)
CIE-LCHlch(41.83, 62.69, 339.50°)
OKLaboklab(52.31% 0.1759 -0.059)
OKLCHoklch(52.31% 0.186 341.5)
XYZxyz(22.2162, 12.3917, 24.5096)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E88 #2EAB51
analogous
#902EAB #AB2E88 #AB2E49
triadic
#AB2E88 #88AB2E #2E88AB
tetradic
#AB2E88 #AB902E #2EAB51 #2E49AB
square
#AB2E88 #AB902E #2EAB51 #2E49AB
split-complementary
#AB2E88 #49AB2E #2EAB90
monochromatic
#4B143B #7B2162 #AB2E88 #CE48A8 #DB79BF

Accessibility & contrast

On white

6.04
#AB2E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2E88
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E88#FFFFFF#000000##FFFFFF
##AB2E881.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568A
Deuteranopia (green-blind)
#606A85
Tritanopia (blue-blind)
#B63057
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2e88;
/* rgb */ color: rgb(171, 46, 136);
/* oklch */ color: oklch(52.3% 0.186 341.5);
Tailwind
colors: {
  custom: {
    50: '#c873ab',
    500: '#ab2e88',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e88;
$custom-light: #c873ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e88",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 316.8,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52311,
    "c": 0.18553,
    "h": 341.5
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#AB2E88
secondary
#72C389
accent
#E17247
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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