#AB2885#AB2885

#AB2885 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.190 H 342.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AB2885
RGBrgb(171, 40, 133)
HSLhsl(317, 62%, 41%)
HSVhsv(317, 77%, 67%)
CMYKcmyk(0%, 76.6%, 22.2%, 32.9%)
CIE-LABlab(41.01, 60.27, -21.38)
CIE-LCHlch(41.01, 63.95, 340.47°)
OKLaboklab(51.67% 0.1814 -0.0574)
OKLCHoklch(51.67% 0.19 342.4)
XYZxyz(21.7878, 11.8712, 23.3297)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2885 #28AB4E
analogous
#9028AB #AB2885 #AB2844
triadic
#AB2885 #85AB28 #2885AB
tetradic
#AB2885 #AB9028 #28AB4E #2844AB
square
#AB2885 #AB9028 #28AB4E #2844AB
split-complementary
#AB2885 #44AB28 #28AB90
monochromatic
#481138 #791C5E #AB2885 #D23EA7 #DE70BE

Accessibility & contrast

On white

6.22
#AB2885 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2885
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2885#FFFFFF#000000##FFFFFF
##AB28851.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365387
Deuteranopia (green-blind)
#5F6882
Tritanopia (blue-blind)
#B62954
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2885;
/* rgb */ color: rgb(171, 40, 133);
/* oklch */ color: oklch(51.7% 0.190 342.4);
Tailwind
colors: {
  custom: {
    50: '#c870a8',
    500: '#ab2885',
    950: '#000000',
  },
}
SCSS
$custom: #ab2885;
$custom-light: #c870a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2885",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 317.405,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.19023,
    "h": 342.4
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#AB2885
secondary
#6AC484
accent
#E57243
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2885

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

Preview Lab → · Contrast checker → · Palette generator →

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