#AB4E99#AB4E99

#AB4E99 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.7% C 0.152 H 335.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AB4E99
RGBrgb(171, 78, 153)
HSLhsl(312, 37%, 49%)
HSVhsv(312, 54%, 67%)
CMYKcmyk(0%, 54.4%, 10.5%, 32.9%)
CIE-LABlab(47.51, 47.77, -23.43)
CIE-LCHlch(47.51, 53.21, 333.87°)
OKLaboklab(56.71% 0.1386 -0.0635)
OKLCHoklch(56.71% 0.152 335.4)
XYZxyz(25.2689, 16.4084, 31.9671)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E99 #4EAB60
analogous
#8F4EAB #AB4E99 #AB4E6B
triadic
#AB4E99 #99AB4E #4E99AB
tetradic
#AB4E99 #AB8F4E #4EAB60 #4E6BAB
square
#AB4E99 #AB8F4E #4EAB60 #4E6BAB
split-complementary
#AB4E99 #6BAB4E #4EAB8F
monochromatic
#57284E #813B73 #AB4E99 #C076B2 #D4A0CA

Accessibility & contrast

On white

4.90
#AB4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E99
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E99#FFFFFF#000000##FFFFFF
##AB4E991.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E689B
Deuteranopia (green-blind)
#697696
Tritanopia (blue-blind)
#B3536C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab4e99;
/* rgb */ color: rgb(171, 78, 153);
/* oklch */ color: oklch(56.7% 0.152 335.4);
Tailwind
colors: {
  custom: {
    50: '#c684b7',
    500: '#ab4e99',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e99;
$custom-light: #c684b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e99",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 311.613,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.15245,
    "h": 335.4
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#AB4E99
secondary
#94C19D
accent
#CD715A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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