#AB4F99#AB4F99

#AB4F99 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.8% C 0.151 H 335.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AB4F99
RGBrgb(171, 79, 153)
HSLhsl(312, 37%, 49%)
HSVhsv(312, 54%, 67%)
CMYKcmyk(0%, 53.8%, 10.5%, 32.9%)
CIE-LABlab(47.69, 47.28, -23.15)
CIE-LCHlch(47.69, 52.64, 333.91°)
OKLaboklab(56.85% 0.1372 -0.0627)
OKLCHoklch(56.85% 0.151 335.4)
XYZxyz(25.3405, 16.5516, 31.9909)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4F99 #4FAB61
analogous
#8F4FAB #AB4F99 #AB4F6B
triadic
#AB4F99 #99AB4F #4F99AB
tetradic
#AB4F99 #AB8F4F #4FAB61 #4F6BAB
square
#AB4F99 #AB8F4F #4FAB61 #4F6BAB
split-complementary
#AB4F99 #6BAB4F #4FAB8F
monochromatic
#57284E #813C74 #AB4F99 #C077B2 #D4A1CA

Accessibility & contrast

On white

4.87
#AB4F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AB4F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4F99
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4F99#FFFFFF#000000##FFFFFF
##AB4F991.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F689B
Deuteranopia (green-blind)
#6A7696
Tritanopia (blue-blind)
#B3546D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab4f99;
/* rgb */ color: rgb(171, 79, 153);
/* oklch */ color: oklch(56.8% 0.151 335.4);
Tailwind
colors: {
  custom: {
    50: '#c684b7',
    500: '#ab4f99',
    950: '#000000',
  },
}
SCSS
$custom: #ab4f99;
$custom-light: #c684b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4f99",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 311.739,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.15081,
    "h": 335.4
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#AB4F99
secondary
#95C19E
accent
#CD715B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB4F99

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

Preview Lab → · Contrast checker → · Palette generator →

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