#AB3488#AB3488

#AB3488 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.178 H 341.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AB3488
RGBrgb(171, 52, 136)
HSLhsl(318, 53%, 44%)
HSVhsv(318, 70%, 67%)
CMYKcmyk(0%, 69.6%, 20.5%, 32.9%)
CIE-LABlab(42.60, 56.56, -20.76)
CIE-LCHlch(42.60, 60.25, 339.84°)
OKLaboklab(52.87% 0.1693 -0.0557)
OKLCHoklch(52.87% 0.178 341.8)
XYZxyz(22.4672, 12.8937, 24.5933)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3488 #34AB57
analogous
#9234AB #AB3488 #AB344C
triadic
#AB3488 #88AB34 #3488AB
tetradic
#AB3488 #AB9234 #34AB57 #344CAB
square
#AB3488 #AB9234 #34AB57 #344CAB
split-complementary
#AB3488 #4CAB34 #34AB92
monochromatic
#4D173D #7C2663 #AB3488 #CA52A7 #D981BF

Accessibility & contrast

On white

5.87
#AB3488 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB3488 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3488
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3488#FFFFFF#000000##FFFFFF
##AB34881.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E588A
Deuteranopia (green-blind)
#626C85
Tritanopia (blue-blind)
#B53659
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3488;
/* rgb */ color: rgb(171, 52, 136);
/* oklch */ color: oklch(52.9% 0.178 341.8);
Tailwind
colors: {
  custom: {
    50: '#c875ab',
    500: '#ab3488',
    950: '#000000',
  },
}
SCSS
$custom: #ab3488;
$custom-light: #c875ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3488",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 317.647,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.17823,
    "h": 341.8
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#AB3488
secondary
#79C28E
accent
#DD764B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3488

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

Preview Lab → · Contrast checker → · Palette generator →

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