#AB4E98#AB4E98

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

Color values

HEX#AB4E98
RGBrgb(171, 78, 152)
HSLhsl(312, 37%, 49%)
HSVhsv(312, 54%, 67%)
CMYKcmyk(0%, 54.4%, 11.1%, 32.9%)
CIE-LABlab(47.46, 47.61, -22.90)
CIE-LCHlch(47.46, 52.83, 334.31°)
OKLaboklab(56.67% 0.1384 -0.062)
OKLCHoklch(56.67% 0.152 335.9)
XYZxyz(25.1866, 16.3755, 31.5339)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E98 #4EAB61
analogous
#904EAB #AB4E98 #AB4E6A
triadic
#AB4E98 #98AB4E #4E98AB
tetradic
#AB4E98 #AB904E #4EAB61 #4E6AAB
square
#AB4E98 #AB904E #4EAB61 #4E6AAB
split-complementary
#AB4E98 #6AAB4E #4EAB90
monochromatic
#57284D #813B73 #AB4E98 #C076B1 #D4A0C9

Accessibility & contrast

On white

4.91
#AB4E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AB4E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E98
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E98#FFFFFF#000000##FFFFFF
##AB4E981.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F689A
Deuteranopia (green-blind)
#6A7695
Tritanopia (blue-blind)
#B3526C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab4e98;
/* rgb */ color: rgb(171, 78, 152);
/* oklch */ color: oklch(56.7% 0.152 335.9);
Tailwind
colors: {
  custom: {
    50: '#c684b6',
    500: '#ab4e98',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e98;
$custom-light: #c684b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e98",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 312.258,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.15164,
    "h": 335.9
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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