#AB2588#AB2588

#AB2588 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.195 H 341.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB2588
RGBrgb(171, 37, 136)
HSLhsl(316, 64%, 41%)
HSVhsv(316, 78%, 67%)
CMYKcmyk(0%, 78.4%, 20.5%, 32.9%)
CIE-LABlab(40.83, 61.56, -23.50)
CIE-LCHlch(40.83, 65.89, 339.11°)
OKLaboklab(51.59% 0.1846 -0.0633)
OKLCHoklch(51.59% 0.195 341.1)
XYZxyz(21.9008, 11.7609, 24.4045)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2588 #25AB48
analogous
#8B25AB #AB2588 #AB2545
triadic
#AB2588 #88AB25 #2588AB
tetradic
#AB2588 #AB8B25 #25AB48 #2545AB
square
#AB2588 #AB8B25 #25AB48 #2545AB
split-complementary
#AB2588 #45AB25 #25AB8B
monochromatic
#460F38 #791A60 #AB2588 #D439AC #DF6BC1

Accessibility & contrast

On white

6.27
#AB2588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB2588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2588
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2588#FFFFFF#000000##FFFFFF
##AB25881.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538B
Deuteranopia (green-blind)
#5D6885
Tritanopia (blue-blind)
#B62854
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2588;
/* rgb */ color: rgb(171, 37, 136);
/* oklch */ color: oklch(51.6% 0.195 341.1);
Tailwind
colors: {
  custom: {
    50: '#c86fab',
    500: '#ab2588',
    950: '#000000',
  },
}
SCSS
$custom: #ab2588;
$custom-light: #c86fab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2588",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 315.672,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51588,
    "c": 0.19511,
    "h": 341.1
  },
  "luminance": 0.11759
}

Semantic roles & 50–950 ramp

primary
#AB2588
secondary
#67C57F
accent
#E76C40
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2588

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

Preview Lab → · Contrast checker → · Palette generator →

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