#AB4582#AB4582

#AB4582 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.5% C 0.150 H 346.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AB4582
RGBrgb(171, 69, 130)
HSLhsl(324, 43%, 47%)
HSVhsv(324, 60%, 67%)
CMYKcmyk(0%, 59.6%, 24%, 32.9%)
CIE-LABlab(44.98, 48.52, -13.47)
CIE-LCHlch(44.98, 50.35, 344.48°)
OKLaboklab(54.54% 0.146 -0.0356)
OKLCHoklch(54.54% 0.15 346.3)
XYZxyz(22.9527, 14.5280, 22.7101)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4582 #45AB6E
analogous
#A145AB #AB4582 #AB454F
triadic
#AB4582 #82AB45 #4582AB
tetradic
#AB4582 #ABA145 #45AB6E #454FAB
square
#AB4582 #ABA145 #45AB6E #454FAB
split-complementary
#AB4582 #4FAB45 #45ABA1
monochromatic
#542240 #7F3361 #AB4582 #C36A9F #D596BB

Accessibility & contrast

On white

5.38
#AB4582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB4582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4582
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4582#FFFFFF#000000##FFFFFF
##AB45821.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F84
Deuteranopia (green-blind)
#6C717F
Tritanopia (blue-blind)
#B6435E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4582;
/* rgb */ color: rgb(171, 69, 130);
/* oklch */ color: oklch(54.5% 0.150 346.3);
Tailwind
colors: {
  custom: {
    50: '#c77ea6',
    500: '#ab4582',
    950: '#000000',
  },
}
SCSS
$custom: #ab4582;
$custom-light: #c77ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4582",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 324.118,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.1503,
    "h": 346.3
  },
  "luminance": 0.14526
}

Semantic roles & 50–950 ramp

primary
#AB4582
secondary
#8BC0A1
accent
#D28856
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB4582

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

Preview Lab → · Contrast checker → · Palette generator →

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