#AB4E82#AB4E82

#AB4E82 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 55.7% C 0.136 H 347.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB4E82
RGBrgb(171, 78, 130)
HSLhsl(326, 37%, 49%)
HSVhsv(326, 54%, 67%)
CMYKcmyk(0%, 54.4%, 24%, 32.9%)
CIE-LABlab(46.61, 44.19, -11.01)
CIE-LCHlch(46.61, 45.54, 346.00°)
OKLaboklab(55.75% 0.1329 -0.0289)
OKLCHoklch(55.75% 0.136 347.7)
XYZxyz(23.5490, 15.7205, 22.9089)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E82 #4EAB77
analogous
#A64EAB #AB4E82 #AB4E54
triadic
#AB4E82 #82AB4E #4E82AB
tetradic
#AB4E82 #ABA64E #4EAB77 #4E54AB
square
#AB4E82 #ABA64E #4EAB77 #4E54AB
split-complementary
#AB4E82 #54AB4E #4EABA6
monochromatic
#572842 #813B62 #AB4E82 #C076A0 #D4A0BD

Accessibility & contrast

On white

5.07
#AB4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AB4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E82
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E82#FFFFFF#000000##FFFFFF
##AB4E821.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586484
Deuteranopia (green-blind)
#717480
Tritanopia (blue-blind)
#B64C62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab4e82;
/* rgb */ color: rgb(171, 78, 130);
/* oklch */ color: oklch(55.7% 0.136 347.7);
Tailwind
colors: {
  custom: {
    50: '#c783a6',
    500: '#ab4e82',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e82;
$custom-light: #c783a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e82",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 326.452,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55746,
    "c": 0.13597,
    "h": 347.7
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

primary
#AB4E82
secondary
#94C1A8
accent
#CD8D5A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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