#AB4591#AB4591

#AB4591 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.2% C 0.161 H 338.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB4591
RGBrgb(171, 69, 145)
HSLhsl(315, 43%, 47%)
HSVhsv(315, 60%, 67%)
CMYKcmyk(0%, 59.6%, 15.2%, 32.9%)
CIE-LABlab(45.58, 50.75, -21.62)
CIE-LCHlch(45.58, 55.16, 336.92°)
OKLaboklab(55.18% 0.1495 -0.0583)
OKLCHoklch(55.18% 0.161 338.7)
XYZxyz(24.0339, 14.9605, 28.4044)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4591 #45AB5F
analogous
#9245AB #AB4591 #AB455E
triadic
#AB4591 #91AB45 #4591AB
tetradic
#AB4591 #AB9245 #45AB5F #455EAB
square
#AB4591 #AB9245 #45AB5F #455EAB
split-complementary
#AB4591 #5EAB45 #45AB92
monochromatic
#542247 #7F336C #AB4591 #C36AAC #D596C5

Accessibility & contrast

On white

5.26
#AB4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4591
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4591#FFFFFF#000000##FFFFFF
##AB45911.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#67728E
Tritanopia (blue-blind)
#B44865
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab4591;
/* rgb */ color: rgb(171, 69, 145);
/* oklch */ color: oklch(55.2% 0.161 338.7);
Tailwind
colors: {
  custom: {
    50: '#c77eb1',
    500: '#ab4591',
    950: '#000000',
  },
}
SCSS
$custom: #ab4591;
$custom-light: #c77eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4591",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 315.294,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55178,
    "c": 0.1605,
    "h": 338.7
  },
  "luminance": 0.14959
}

Semantic roles & 50–950 ramp

primary
#AB4591
secondary
#8BC099
accent
#D27556
background
#FCF8FA
surface
#F8EFF5
border
#D1CACF
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB4591

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

Preview Lab → · Contrast checker → · Palette generator →

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