#AB3A89#AB3A89

#AB3A89 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.5% C 0.171 H 341.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AB3A89
RGBrgb(171, 58, 137)
HSLhsl(318, 49%, 45%)
HSVhsv(318, 66%, 67%)
CMYKcmyk(0%, 66.1%, 19.9%, 32.9%)
CIE-LABlab(43.50, 54.33, -19.99)
CIE-LCHlch(43.50, 57.89, 339.80°)
OKLaboklab(53.54% 0.1623 -0.0536)
OKLCHoklch(53.54% 0.171 341.7)
XYZxyz(22.8236, 13.4923, 25.0643)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3A89 #3AAB5C
analogous
#943AAB #AB3A89 #AB3A51
triadic
#AB3A89 #89AB3A #3A89AB
tetradic
#AB3A89 #AB943A #3AAB5C #3A51AB
square
#AB3A89 #AB943A #3AAB5C #3A51AB
split-complementary
#AB3A89 #51AB3A #3AAB94
monochromatic
#501B40 #7D2A64 #AB3A89 #C75BA7 #D789BF

Accessibility & contrast

On white

5.68
#AB3A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AB3A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3A89
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3A89#FFFFFF#000000##FFFFFF
##AB3A891.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435B8B
Deuteranopia (green-blind)
#656D86
Tritanopia (blue-blind)
#B53B5C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3a89;
/* rgb */ color: rgb(171, 58, 137);
/* oklch */ color: oklch(53.5% 0.171 341.7);
Tailwind
colors: {
  custom: {
    50: '#c778ab',
    500: '#ab3a89',
    950: '#000000',
  },
}
SCSS
$custom: #ab3a89;
$custom-light: #c778ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3a89",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 318.053,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.17093,
    "h": 341.7
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#AB3A89
secondary
#80C193
accent
#D9784F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB3A89

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

Preview Lab → · Contrast checker → · Palette generator →

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