#AB4E8D#AB4E8D

#AB4E8D is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.2% C 0.143 H 341.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB4E8D
RGBrgb(171, 78, 141)
HSLhsl(319, 37%, 49%)
HSVhsv(319, 54%, 67%)
CMYKcmyk(0%, 54.4%, 17.5%, 32.9%)
CIE-LABlab(47.02, 45.84, -17.01)
CIE-LCHlch(47.02, 48.89, 339.64°)
OKLaboklab(56.19% 0.1359 -0.0455)
OKLCHoklch(56.19% 0.143 341.5)
XYZxyz(24.3271, 16.0317, 27.0073)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E8D #4EAB6C
analogous
#9B4EAB #AB4E8D #AB4E5F
triadic
#AB4E8D #8DAB4E #4E8DAB
tetradic
#AB4E8D #AB9B4E #4EAB6C #4E5FAB
square
#AB4E8D #AB9B4E #4EAB6C #4E5FAB
split-complementary
#AB4E8D #5FAB4E #4EAB9B
monochromatic
#572848 #813B6A #AB4E8D #C076A8 #D4A0C3

Accessibility & contrast

On white

4.99
#AB4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AB4E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E8D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E8D#FFFFFF#000000##FFFFFF
##AB4E8D1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54668F
Deuteranopia (green-blind)
#6E758B
Tritanopia (blue-blind)
#B44F67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab4e8d;
/* rgb */ color: rgb(171, 78, 141);
/* oklch */ color: oklch(56.2% 0.143 341.5);
Tailwind
colors: {
  custom: {
    50: '#c683ae',
    500: '#ab4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e8d;
$custom-light: #c683ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e8d",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 319.355,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56186,
    "c": 0.14327,
    "h": 341.5
  },
  "luminance": 0.1603
}

Semantic roles & 50–950 ramp

primary
#AB4E8D
secondary
#94C1A3
accent
#CD805A
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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