#AB488F#AB488F

#AB488F is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.5% C 0.154 H 339.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AB488F
RGBrgb(171, 72, 143)
HSLhsl(317, 41%, 48%)
HSVhsv(317, 58%, 67%)
CMYKcmyk(0%, 57.9%, 16.4%, 32.9%)
CIE-LABlab(46.01, 49.04, -19.75)
CIE-LCHlch(46.01, 52.87, 338.06°)
OKLaboklab(55.47% 0.145 -0.0531)
OKLCHoklch(55.47% 0.154 339.9)
XYZxyz(24.0703, 15.2778, 27.6625)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB488F #48AB64
analogous
#9648AB #AB488F #AB485D
triadic
#AB488F #8FAB48 #488FAB
tetradic
#AB488F #AB9648 #48AB64 #485DAB
square
#AB488F #AB9648 #48AB64 #485DAB
split-complementary
#AB488F #5DAB48 #48AB96
monochromatic
#552447 #80366B #AB488F #C26EAA #D499C3

Accessibility & contrast

On white

5.18
#AB488F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB488F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB488F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB488F#FFFFFF#000000##FFFFFF
##AB488F1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6391
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#B44A65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab488f;
/* rgb */ color: rgb(171, 72, 143);
/* oklch */ color: oklch(55.5% 0.154 339.9);
Tailwind
colors: {
  custom: {
    50: '#c780b0',
    500: '#ab488f',
    950: '#000000',
  },
}
SCSS
$custom: #ab488f;
$custom-light: #c780b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab488f",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 316.97,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55469,
    "c": 0.15438,
    "h": 339.9
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#AB488F
secondary
#8EC09D
accent
#D17A57
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB488F

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

Preview Lab → · Contrast checker → · Palette generator →

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