#AB4584#AB4584

#AB4584 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.6% C 0.152 H 345.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB4584
RGBrgb(171, 69, 132)
HSLhsl(323, 43%, 47%)
HSVhsv(323, 60%, 67%)
CMYKcmyk(0%, 59.6%, 22.8%, 32.9%)
CIE-LABlab(45.06, 48.80, -14.57)
CIE-LCHlch(45.06, 50.93, 343.38°)
OKLaboklab(54.62% 0.1466 -0.0386)
OKLCHoklch(54.62% 0.152 345.2)
XYZxyz(23.0883, 14.5822, 23.4240)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4584 #45AB6C
analogous
#9F45AB #AB4584 #AB4551
triadic
#AB4584 #84AB45 #4584AB
tetradic
#AB4584 #AB9F45 #45AB6C #4551AB
square
#AB4584 #AB9F45 #45AB6C #4551AB
split-complementary
#AB4584 #51AB45 #45AB9F
monochromatic
#542241 #7F3362 #AB4584 #C36AA1 #D596BD

Accessibility & contrast

On white

5.36
#AB4584 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB4584 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4584
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4584#FFFFFF#000000##FFFFFF
##AB45841.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6086
Deuteranopia (green-blind)
#6B7181
Tritanopia (blue-blind)
#B6445F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4584;
/* rgb */ color: rgb(171, 69, 132);
/* oklch */ color: oklch(54.6% 0.152 345.2);
Tailwind
colors: {
  custom: {
    50: '#c77ea7',
    500: '#ab4584',
    950: '#000000',
  },
}
SCSS
$custom: #ab4584;
$custom-light: #c77ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4584",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 322.941,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5462,
    "c": 0.15155,
    "h": 345.2
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#AB4584
secondary
#8BC0A0
accent
#D28556
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB4584

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

Preview Lab → · Contrast checker → · Palette generator →

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