#AB4586#AB4586

#AB4586 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.7% C 0.153 H 344.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB4586
RGBrgb(171, 69, 134)
HSLhsl(322, 43%, 47%)
HSVhsv(322, 60%, 67%)
CMYKcmyk(0%, 59.6%, 21.6%, 32.9%)
CIE-LABlab(45.13, 49.09, -15.66)
CIE-LCHlch(45.13, 51.53, 342.30°)
OKLaboklab(54.7% 0.1471 -0.0416)
OKLCHoklch(54.7% 0.153 344.2)
XYZxyz(23.2264, 14.6375, 24.1517)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4586 #45AB6A
analogous
#9D45AB #AB4586 #AB4553
triadic
#AB4586 #86AB45 #4586AB
tetradic
#AB4586 #AB9D45 #45AB6A #4553AB
square
#AB4586 #AB9D45 #45AB6A #4553AB
split-complementary
#AB4586 #53AB45 #45AB9D
monochromatic
#542242 #7F3364 #AB4586 #C36AA3 #D596BE

Accessibility & contrast

On white

5.35
#AB4586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB4586 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4586
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4586#FFFFFF#000000##FFFFFF
##AB45861.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6088
Deuteranopia (green-blind)
#6B7183
Tritanopia (blue-blind)
#B5445F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4586;
/* rgb */ color: rgb(171, 69, 134);
/* oklch */ color: oklch(54.7% 0.153 344.2);
Tailwind
colors: {
  custom: {
    50: '#c77ea9',
    500: '#ab4586',
    950: '#000000',
  },
}
SCSS
$custom: #ab4586;
$custom-light: #c77ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4586",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 321.765,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.15284,
    "h": 344.2
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#AB4586
secondary
#8BC09F
accent
#D28356
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB4586

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

Preview Lab → · Contrast checker → · Palette generator →

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