#AB4D8F#AB4D8F

#AB4D8F is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.1% C 0.146 H 340.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AB4D8F
RGBrgb(171, 77, 143)
HSLhsl(318, 38%, 49%)
HSVhsv(318, 55%, 67%)
CMYKcmyk(0%, 55%, 16.4%, 32.9%)
CIE-LABlab(46.91, 46.64, -18.38)
CIE-LCHlch(46.91, 50.13, 338.50°)
OKLaboklab(56.13% 0.1378 -0.0492)
OKLCHoklch(56.13% 0.146 340.3)
XYZxyz(24.4068, 15.9508, 27.7746)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4D8F #4DAB69
analogous
#984DAB #AB4D8F #AB4D60
triadic
#AB4D8F #8FAB4D #4D8FAB
tetradic
#AB4D8F #AB984D #4DAB69 #4D60AB
square
#AB4D8F #AB984D #4DAB69 #4D60AB
split-complementary
#AB4D8F #60AB4D #4DAB98
monochromatic
#572748 #813A6C #AB4D8F #C175AA #D49FC4

Accessibility & contrast

On white

5.01
#AB4D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AB4D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4D8F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4D8F#FFFFFF#000000##FFFFFF
##AB4D8F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526691
Deuteranopia (green-blind)
#6C758D
Tritanopia (blue-blind)
#B44F67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab4d8f;
/* rgb */ color: rgb(171, 77, 143);
/* oklch */ color: oklch(56.1% 0.146 340.3);
Tailwind
colors: {
  custom: {
    50: '#c683b0',
    500: '#ab4d8f',
    950: '#000000',
  },
}
SCSS
$custom: #ab4d8f;
$custom-light: #c683b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4d8f",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 317.872,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56133,
    "c": 0.14636,
    "h": 340.3
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#AB4D8F
secondary
#93C0A1
accent
#CE7C5A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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