#AB2A88#AB2A88

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

Color values

HEX#AB2A88
RGBrgb(171, 42, 136)
HSLhsl(316, 61%, 42%)
HSVhsv(316, 75%, 67%)
CMYKcmyk(0%, 75.4%, 20.5%, 32.9%)
CIE-LABlab(41.36, 60.05, -22.68)
CIE-LCHlch(41.36, 64.18, 339.31°)
OKLaboklab(51.97% 0.1799 -0.061)
OKLCHoklch(51.97% 0.19 341.3)
XYZxyz(22.0672, 12.0937, 24.4599)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A88 #2AAB4D
analogous
#8E2AAB #AB2A88 #AB2A48
triadic
#AB2A88 #88AB2A #2A88AB
tetradic
#AB2A88 #AB8E2A #2AAB4D #2A48AB
square
#AB2A88 #AB8E2A #2AAB4D #2A48AB
split-complementary
#AB2A88 #48AB2A #2AAB8E
monochromatic
#49123A #7A1E61 #AB2A88 #D142AA #DD73C0

Accessibility & contrast

On white

6.14
#AB2A88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2A88
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A88#FFFFFF#000000##FFFFFF
##AB2A881.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#5F6985
Tritanopia (blue-blind)
#B62D56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2a88;
/* rgb */ color: rgb(171, 42, 136);
/* oklch */ color: oklch(52.0% 0.190 341.3);
Tailwind
colors: {
  custom: {
    50: '#c871ab',
    500: '#ab2a88',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a88;
$custom-light: #c871ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a88",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 316.279,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.19,
    "h": 341.3
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#AB2A88
secondary
#6DC485
accent
#E46F44
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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