#AB4989#AB4989

#AB4989 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.3% C 0.149 H 343.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AB4989
RGBrgb(171, 73, 137)
HSLhsl(321, 40%, 48%)
HSVhsv(321, 57%, 67%)
CMYKcmyk(0%, 57.3%, 19.9%, 32.9%)
CIE-LABlab(45.95, 47.65, -16.23)
CIE-LCHlch(45.95, 50.34, 341.19°)
OKLaboklab(55.34% 0.1421 -0.0432)
OKLCHoklch(55.34% 0.149 343.1)
XYZxyz(23.6931, 15.2312, 25.3541)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4989 #49AB6B
analogous
#9C49AB #AB4989 #AB4958
triadic
#AB4989 #89AB49 #4989AB
tetradic
#AB4989 #AB9C49 #49AB6B #4958AB
square
#AB4989 #AB9C49 #49AB6B #4958AB
split-complementary
#AB4989 #58AB49 #49AB9C
monochromatic
#552444 #803767 #AB4989 #C26FA5 #D49AC0

Accessibility & contrast

On white

5.19
#AB4989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AB4989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4989
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4989#FFFFFF#000000##FFFFFF
##AB49891.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638B
Deuteranopia (green-blind)
#6C7387
Tritanopia (blue-blind)
#B54963
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4989;
/* rgb */ color: rgb(171, 73, 137);
/* oklch */ color: oklch(55.3% 0.149 343.1);
Tailwind
colors: {
  custom: {
    50: '#c780ab',
    500: '#ab4989',
    950: '#000000',
  },
}
SCSS
$custom: #ab4989;
$custom-light: #c780ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4989",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 320.816,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55344,
    "c": 0.14857,
    "h": 343.1
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#AB4989
secondary
#8FC0A0
accent
#D08158
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4989

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

Preview Lab → · Contrast checker → · Palette generator →

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