#AB489A#AB489A

#AB489A is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.0% C 0.163 H 334.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB489A
RGBrgb(171, 72, 154)
HSLhsl(310, 41%, 48%)
HSVhsv(310, 58%, 67%)
CMYKcmyk(0%, 57.9%, 9.9%, 32.9%)
CIE-LABlab(46.48, 50.80, -25.61)
CIE-LCHlch(46.48, 56.90, 333.24°)
OKLaboklab(55.97% 0.1472 -0.0696)
OKLCHoklch(55.97% 0.163 334.7)
XYZxyz(24.9448, 15.6276, 32.2682)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB489A #48AB59
analogous
#8A48AB #AB489A #AB4868
triadic
#AB489A #9AAB48 #489AAB
tetradic
#AB489A #AB8A48 #48AB59 #4868AB
square
#AB489A #AB8A48 #48AB59 #4868AB
split-complementary
#AB489A #68AB48 #48AB8A
monochromatic
#55244C #803673 #AB489A #C26EB4 #D499CA

Accessibility & contrast

On white

5.09
#AB489A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AB489A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB489A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB489A#FFFFFF#000000##FFFFFF
##AB489A1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48659D
Deuteranopia (green-blind)
#667397
Tritanopia (blue-blind)
#B34E6A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab489a;
/* rgb */ color: rgb(171, 72, 154);
/* oklch */ color: oklch(56.0% 0.163 334.7);
Tailwind
colors: {
  custom: {
    50: '#c780b8',
    500: '#ab489a',
    950: '#000000',
  },
}
SCSS
$custom: #ab489a;
$custom-light: #c780b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab489a",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 310.303,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55969,
    "c": 0.16281,
    "h": 334.7
  },
  "luminance": 0.15626
}

Semantic roles & 50–950 ramp

primary
#AB489A
secondary
#8EC097
accent
#D16C57
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB489A

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

Preview Lab → · Contrast checker → · Palette generator →

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