#AB2B88#AB2B88

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

Color values

HEX#AB2B88
RGBrgb(171, 43, 136)
HSLhsl(316, 60%, 42%)
HSVhsv(316, 75%, 67%)
CMYKcmyk(0%, 74.9%, 20.5%, 32.9%)
CIE-LABlab(41.48, 59.72, -22.50)
CIE-LCHlch(41.48, 63.82, 339.36°)
OKLaboklab(52.05% 0.179 -0.0605)
OKLCHoklch(52.05% 0.189 341.3)
XYZxyz(22.1031, 12.1655, 24.4719)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B88 #2BAB4E
analogous
#8E2BAB #AB2B88 #AB2B48
triadic
#AB2B88 #88AB2B #2B88AB
tetradic
#AB2B88 #AB8E2B #2BAB4E #2B48AB
square
#AB2B88 #AB8E2B #2BAB4E #2B48AB
split-complementary
#AB2B88 #48AB2B #2BAB8E
monochromatic
#49123A #7A1F61 #AB2B88 #D043A9 #DC74C0

Accessibility & contrast

On white

6.12
#AB2B88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB2B88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B88
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B88#FFFFFF#000000##FFFFFF
##AB2B881.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2b88;
/* rgb */ color: rgb(171, 43, 136);
/* oklch */ color: oklch(52.1% 0.189 341.3);
Tailwind
colors: {
  custom: {
    50: '#c871ab',
    500: '#ab2b88',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b88;
$custom-light: #c871ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b88",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 316.406,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52054,
    "c": 0.18892,
    "h": 341.3
  },
  "luminance": 0.12163
}

Semantic roles & 50–950 ramp

primary
#AB2B88
secondary
#6EC486
accent
#E37045
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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