#AB4E7D#AB4E7D

#AB4E7D is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.6% C 0.133 H 350.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AB4E7D
RGBrgb(171, 78, 125)
HSLhsl(330, 37%, 49%)
HSVhsv(330, 54%, 67%)
CMYKcmyk(0%, 54.4%, 26.9%, 32.9%)
CIE-LABlab(46.43, 43.47, -8.25)
CIE-LCHlch(46.43, 44.25, 349.25°)
OKLaboklab(55.56% 0.1313 -0.0214)
OKLCHoklch(55.56% 0.133 350.8)
XYZxyz(23.2215, 15.5895, 21.1841)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E7D #4EAB7C
analogous
#AB4EAB #AB4E7D #AB4E4F
triadic
#AB4E7D #7DAB4E #4E7DAB
tetradic
#AB4E7D #ABAB4E #4EAB7C #4E4FAB
square
#AB4E7D #ABAB4E #4EAB7C #4E4FAB
split-complementary
#AB4E7D #4FAB4E #4EABAB
monochromatic
#572840 #813B5E #AB4E7D #C0769C #D4A0BA

Accessibility & contrast

On white

5.10
#AB4E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AB4E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E7D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E7D#FFFFFF#000000##FFFFFF
##AB4E7D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59647F
Deuteranopia (green-blind)
#72747B
Tritanopia (blue-blind)
#B64A60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab4e7d;
/* rgb */ color: rgb(171, 78, 125);
/* oklch */ color: oklch(55.6% 0.133 350.8);
Tailwind
colors: {
  custom: {
    50: '#c783a2',
    500: '#ab4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e7d;
$custom-light: #c783a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e7d",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 329.677,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.13307,
    "h": 350.8
  },
  "luminance": 0.15587
}

Semantic roles & 50–950 ramp

primary
#AB4E7D
secondary
#94C1AA
accent
#CD935A
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0F
muted
#827C7E

Preview Lab

Preview with #AB4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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