#AB2884#AB2884

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

Color values

HEX#AB2884
RGBrgb(171, 40, 132)
HSLhsl(318, 62%, 41%)
HSVhsv(318, 77%, 67%)
CMYKcmyk(0%, 76.6%, 22.8%, 32.9%)
CIE-LABlab(40.97, 60.14, -20.84)
CIE-LCHlch(40.97, 63.64, 340.89°)
OKLaboklab(51.63% 0.1812 -0.0558)
OKLCHoklch(51.63% 0.19 342.9)
XYZxyz(21.7190, 11.8437, 22.9676)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2884 #28AB4F
analogous
#9128AB #AB2884 #AB2843
triadic
#AB2884 #84AB28 #2884AB
tetradic
#AB2884 #AB9128 #28AB4F #2843AB
square
#AB2884 #AB9128 #28AB4F #2843AB
split-complementary
#AB2884 #43AB28 #28AB91
monochromatic
#481137 #791C5E #AB2884 #D23EA6 #DE70BD

Accessibility & contrast

On white

6.23
#AB2884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2884 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2884
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2884#FFFFFF#000000##FFFFFF
##AB28841.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365386
Deuteranopia (green-blind)
#5F6881
Tritanopia (blue-blind)
#B62953
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2884;
/* rgb */ color: rgb(171, 40, 132);
/* oklch */ color: oklch(51.6% 0.190 342.9);
Tailwind
colors: {
  custom: {
    50: '#c870a8',
    500: '#ab2884',
    950: '#000000',
  },
}
SCSS
$custom: #ab2884;
$custom-light: #c870a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2884",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 317.863,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.18961,
    "h": 342.9
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#AB2884
secondary
#6AC485
accent
#E57343
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2884

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

Preview Lab → · Contrast checker → · Palette generator →

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