#AB488D#AB488D

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

Color values

HEX#AB488D
RGBrgb(171, 72, 141)
HSLhsl(318, 41%, 48%)
HSVhsv(318, 58%, 67%)
CMYKcmyk(0%, 57.9%, 17.5%, 32.9%)
CIE-LABlab(45.93, 48.73, -18.67)
CIE-LCHlch(45.93, 52.19, 339.03°)
OKLaboklab(55.38% 0.1445 -0.05)
OKLCHoklch(55.38% 0.153 340.9)
XYZxyz(23.9201, 15.2177, 26.8716)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB488D #48AB66
analogous
#9848AB #AB488D #AB485B
triadic
#AB488D #8DAB48 #488DAB
tetradic
#AB488D #AB9848 #48AB66 #485BAB
square
#AB488D #AB9848 #48AB66 #485BAB
split-complementary
#AB488D #5BAB48 #48AB98
monochromatic
#552446 #803669 #AB488D #C26EA9 #D499C2

Accessibility & contrast

On white

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

On black

4.04
#AB488D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB488D#FFFFFF#000000##FFFFFF
##AB488D1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#6A738A
Tritanopia (blue-blind)
#B44A64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab488d;
/* rgb */ color: rgb(171, 72, 141);
/* oklch */ color: oklch(55.4% 0.153 340.9);
Tailwind
colors: {
  custom: {
    50: '#c780ae',
    500: '#ab488d',
    950: '#000000',
  },
}
SCSS
$custom: #ab488d;
$custom-light: #c780ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab488d",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 318.182,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55383,
    "c": 0.15294,
    "h": 340.9
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#AB488D
secondary
#8EC09E
accent
#D17C57
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB488D

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

Preview Lab → · Contrast checker → · Palette generator →

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