#AB2B89#AB2B89

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

Color values

HEX#AB2B89
RGBrgb(171, 43, 137)
HSLhsl(316, 60%, 42%)
HSVhsv(316, 75%, 67%)
CMYKcmyk(0%, 74.9%, 19.9%, 32.9%)
CIE-LABlab(41.52, 59.86, -23.04)
CIE-LCHlch(41.52, 64.14, 338.95°)
OKLaboklab(52.1% 0.1791 -0.0621)
OKLCHoklch(52.1% 0.19 340.9)
XYZxyz(22.1745, 12.1941, 24.8479)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B89 #2BAB4D
analogous
#8D2BAB #AB2B89 #AB2B49
triadic
#AB2B89 #89AB2B #2B89AB
tetradic
#AB2B89 #AB8D2B #2BAB4D #2B49AB
square
#AB2B89 #AB8D2B #2BAB4D #2B49AB
split-complementary
#AB2B89 #49AB2B #2BAB8D
monochromatic
#49123B #7A1F62 #AB2B89 #D043AB #DC74C1

Accessibility & contrast

On white

6.11
#AB2B89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB2B89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B89
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B89#FFFFFF#000000##FFFFFF
##AB2B891.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#5F6986
Tritanopia (blue-blind)
#B52E57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2b89;
/* rgb */ color: rgb(171, 43, 137);
/* oklch */ color: oklch(52.1% 0.190 340.9);
Tailwind
colors: {
  custom: {
    50: '#c871ab',
    500: '#ab2b89',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b89;
$custom-light: #c871ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b89",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 315.938,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.18955,
    "h": 340.9
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#AB2B89
secondary
#6EC485
accent
#E36F45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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