#AB2C88#AB2C88

#AB2C88 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.188 H 341.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AB2C88
RGBrgb(171, 44, 136)
HSLhsl(317, 59%, 42%)
HSVhsv(317, 74%, 67%)
CMYKcmyk(0%, 74.3%, 20.5%, 32.9%)
CIE-LABlab(41.59, 59.40, -22.32)
CIE-LCHlch(41.59, 63.45, 339.40°)
OKLaboklab(52.14% 0.1779 -0.06)
OKLCHoklch(52.14% 0.188 341.4)
XYZxyz(22.1399, 12.2391, 24.4842)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C88 #2CAB4F
analogous
#8E2CAB #AB2C88 #AB2C49
triadic
#AB2C88 #88AB2C #2C88AB
tetradic
#AB2C88 #AB8E2C #2CAB4F #2C49AB
square
#AB2C88 #AB8E2C #2CAB4F #2C49AB
split-complementary
#AB2C88 #49AB2C #2CAB8E
monochromatic
#4A133B #7A1F61 #AB2C88 #CF45A9 #DC76C0

Accessibility & contrast

On white

6.09
#AB2C88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AB2C88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C88
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C88#FFFFFF#000000##FFFFFF
##AB2C881.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2c88;
/* rgb */ color: rgb(171, 44, 136);
/* oklch */ color: oklch(52.1% 0.188 341.4);
Tailwind
colors: {
  custom: {
    50: '#c872ab',
    500: '#ab2c88',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c88;
$custom-light: #c872ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c88",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 316.535,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.1878,
    "h": 341.4
  },
  "luminance": 0.12237
}

Semantic roles & 50–950 ramp

primary
#AB2C88
secondary
#6FC387
accent
#E27146
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2C88

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

Preview Lab → · Contrast checker → · Palette generator →

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