#AB2B84#AB2B84

#AB2B84 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.186 H 343.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AB2B84
RGBrgb(171, 43, 132)
HSLhsl(318, 60%, 42%)
HSVhsv(318, 75%, 67%)
CMYKcmyk(0%, 74.9%, 22.8%, 32.9%)
CIE-LABlab(41.30, 59.18, -20.32)
CIE-LCHlch(41.30, 62.58, 341.05°)
OKLaboklab(51.87% 0.1783 -0.0544)
OKLCHoklch(51.87% 0.186 343)
XYZxyz(21.8241, 12.0539, 23.0026)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B84 #2BAB52
analogous
#922BAB #AB2B84 #AB2B44
triadic
#AB2B84 #84AB2B #2B84AB
tetradic
#AB2B84 #AB922B #2BAB52 #2B44AB
square
#AB2B84 #AB922B #2BAB52 #2B44AB
split-complementary
#AB2B84 #44AB2B #2BAB92
monochromatic
#491239 #7A1F5E #AB2B84 #D043A5 #DC74BC

Accessibility & contrast

On white

6.16
#AB2B84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AB2B84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B84
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B84#FFFFFF#000000##FFFFFF
##AB2B841.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385486
Deuteranopia (green-blind)
#606981
Tritanopia (blue-blind)
#B62B54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2b84;
/* rgb */ color: rgb(171, 43, 132);
/* oklch */ color: oklch(51.9% 0.186 343.0);
Tailwind
colors: {
  custom: {
    50: '#c871a8',
    500: '#ab2b84',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b84;
$custom-light: #c871a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b84",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 318.281,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.1864,
    "h": 343
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#AB2B84
secondary
#6EC488
accent
#E37545
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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