#AB4F7E#AB4F7E

#AB4F7E is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.7% C 0.132 H 350.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB4F7E
RGBrgb(171, 79, 126)
HSLhsl(329, 37%, 49%)
HSVhsv(329, 54%, 67%)
CMYKcmyk(0%, 53.8%, 26.3%, 32.9%)
CIE-LABlab(46.66, 43.11, -8.52)
CIE-LCHlch(46.66, 43.95, 348.82°)
OKLaboklab(55.74% 0.1301 -0.0221)
OKLCHoklch(55.74% 0.132 350.3)
XYZxyz(23.3573, 15.7583, 21.5461)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4F7E #4FAB7C
analogous
#AA4FAB #AB4F7E #AB4F50
triadic
#AB4F7E #7EAB4F #4F7EAB
tetradic
#AB4F7E #ABAA4F #4FAB7C #4F50AB
square
#AB4F7E #ABAA4F #4FAB7C #4F50AB
split-complementary
#AB4F7E #50AB4F #4FABAA
monochromatic
#572840 #813C5F #AB4F7E #C0779C #D4A1BB

Accessibility & contrast

On white

5.06
#AB4F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AB4F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4F7E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4F7E#FFFFFF#000000##FFFFFF
##AB4F7E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6580
Deuteranopia (green-blind)
#72757C
Tritanopia (blue-blind)
#B64C61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab4f7e;
/* rgb */ color: rgb(171, 79, 126);
/* oklch */ color: oklch(55.7% 0.132 350.3);
Tailwind
colors: {
  custom: {
    50: '#c784a3',
    500: '#ab4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #ab4f7e;
$custom-light: #c784a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4f7e",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 329.348,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.132,
    "h": 350.3
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#AB4F7E
secondary
#95C1AA
accent
#CD935B
background
#FCF8FA
surface
#F8EFF3
border
#D1CACD
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AB4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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