#AB4585#AB4585

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

Color values

HEX#AB4585
RGBrgb(171, 69, 133)
HSLhsl(322, 43%, 47%)
HSVhsv(322, 60%, 67%)
CMYKcmyk(0%, 59.6%, 22.2%, 32.9%)
CIE-LABlab(45.09, 48.95, -15.12)
CIE-LCHlch(45.09, 51.23, 342.84°)
OKLaboklab(54.66% 0.1468 -0.0401)
OKLCHoklch(54.66% 0.152 344.7)
XYZxyz(23.1570, 14.6097, 23.7861)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4585 #45AB6B
analogous
#9E45AB #AB4585 #AB4552
triadic
#AB4585 #85AB45 #4585AB
tetradic
#AB4585 #AB9E45 #45AB6B #4552AB
square
#AB4585 #AB9E45 #45AB6B #4552AB
split-complementary
#AB4585 #52AB45 #45AB9E
monochromatic
#542241 #7F3363 #AB4585 #C36AA2 #D596BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4585#FFFFFF#000000##FFFFFF
##AB45851.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab4585;
/* rgb */ color: rgb(171, 69, 133);
/* oklch */ color: oklch(54.7% 0.152 344.7);
Tailwind
colors: {
  custom: {
    50: '#c77ea8',
    500: '#ab4585',
    950: '#000000',
  },
}
SCSS
$custom: #ab4585;
$custom-light: #c77ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4585",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 322.353,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.15219,
    "h": 344.7
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4585

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

Preview Lab → · Contrast checker → · Palette generator →

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