#AB4E7F#AB4E7F

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

Color values

HEX#AB4E7F
RGBrgb(171, 78, 127)
HSLhsl(328, 37%, 49%)
HSVhsv(328, 54%, 67%)
CMYKcmyk(0%, 54.4%, 25.7%, 32.9%)
CIE-LABlab(46.50, 43.76, -9.36)
CIE-LCHlch(46.50, 44.75, 347.93°)
OKLaboklab(55.63% 0.132 -0.0244)
OKLCHoklch(55.63% 0.134 349.5)
XYZxyz(23.3505, 15.6411, 21.8638)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E7F #4EAB7A
analogous
#A94EAB #AB4E7F #AB4E51
triadic
#AB4E7F #7FAB4E #4E7FAB
tetradic
#AB4E7F #ABA94E #4EAB7A #4E51AB
square
#AB4E7F #ABA94E #4EAB7A #4E51AB
split-complementary
#AB4E7F #51AB4E #4EABA9
monochromatic
#572841 #813B60 #AB4E7F #C0769D #D4A0BB

Accessibility & contrast

On white

5.09
#AB4E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AB4E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E7F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E7F#FFFFFF#000000##FFFFFF
##AB4E7F1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586481
Deuteranopia (green-blind)
#72747D
Tritanopia (blue-blind)
#B64B61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab4e7f;
/* rgb */ color: rgb(171, 78, 127);
/* oklch */ color: oklch(55.6% 0.134 349.5);
Tailwind
colors: {
  custom: {
    50: '#c783a4',
    500: '#ab4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e7f;
$custom-light: #c783a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e7f",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 328.387,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55633,
    "c": 0.1342,
    "h": 349.5
  },
  "luminance": 0.15639
}

Semantic roles & 50–950 ramp

primary
#AB4E7F
secondary
#94C1A9
accent
#CD915A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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