#AB4285#AB4285

#AB4285 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.157 H 344.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AB4285
RGBrgb(171, 66, 133)
HSLhsl(322, 44%, 46%)
HSVhsv(322, 61%, 67%)
CMYKcmyk(0%, 61.4%, 22.2%, 32.9%)
CIE-LABlab(44.59, 50.31, -15.89)
CIE-LCHlch(44.59, 52.76, 342.48°)
OKLaboklab(54.29% 0.151 -0.0422)
OKLCHoklch(54.29% 0.157 344.4)
XYZxyz(22.9771, 14.2499, 23.7262)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4285 #42AB68
analogous
#9D42AB #AB4285 #AB4251
triadic
#AB4285 #85AB42 #4285AB
tetradic
#AB4285 #AB9D42 #42AB68 #4251AB
square
#AB4285 #AB9D42 #42AB68 #4251AB
split-complementary
#AB4285 #51AB42 #42AB9D
monochromatic
#532040 #7F3163 #AB4285 #C466A2 #D592BD

Accessibility & contrast

On white

5.46
#AB4285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB4285 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4285
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4285#FFFFFF#000000##FFFFFF
##AB42851.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E87
Deuteranopia (green-blind)
#6A7082
Tritanopia (blue-blind)
#B6415E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4285;
/* rgb */ color: rgb(171, 66, 133);
/* oklch */ color: oklch(54.3% 0.157 344.4);
Tailwind
colors: {
  custom: {
    50: '#c77ca8',
    500: '#ab4285',
    950: '#000000',
  },
}
SCSS
$custom: #ab4285;
$custom-light: #c77ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4285",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 321.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54288,
    "c": 0.15676,
    "h": 344.4
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

primary
#AB4285
secondary
#88C09D
accent
#D48254
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB4285

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

Preview Lab → · Contrast checker → · Palette generator →

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