#AB4A7A#AB4A7A

#AB4A7A is a mid, vivid pink. Relative luminance 0.150; OKLCH L 54.9% C 0.138 H 351.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB4A7A
RGBrgb(171, 74, 122)
HSLhsl(330, 40%, 48%)
HSVhsv(330, 57%, 67%)
CMYKcmyk(0%, 56.7%, 28.7%, 32.9%)
CIE-LABlab(45.58, 45.03, -7.70)
CIE-LCHlch(45.58, 45.69, 350.30°)
OKLaboklab(54.89% 0.1364 -0.0199)
OKLCHoklch(54.89% 0.138 351.7)
XYZxyz(22.7571, 14.9628, 20.0982)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4A7A #4AAB7B
analogous
#AB4AAA #AB4A7A #AB4A4A
triadic
#AB4A7A #7AAB4A #4A7AAB
tetradic
#AB4A7A #AAAB4A #4AAB7B #4A4AAB
square
#AB4A7A #AAAB4A #4AAB7B #4A4AAB
split-complementary
#AB4A7A #4AAB4A #4AAAAB
monochromatic
#56253D #80385C #AB4A7A #C17199 #D49BB7

Accessibility & contrast

On white

5.26
#AB4A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB4A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4A7A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4A7A#FFFFFF#000000##FFFFFF
##AB4A7A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617C
Deuteranopia (green-blind)
#717278
Tritanopia (blue-blind)
#B7465D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab4a7a;
/* rgb */ color: rgb(171, 74, 122);
/* oklch */ color: oklch(54.9% 0.138 351.7);
Tailwind
colors: {
  custom: {
    50: '#c781a0',
    500: '#ab4a7a',
    950: '#000000',
  },
}
SCSS
$custom: #ab4a7a;
$custom-light: #c781a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4a7a",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 122
  },
  "hsl": {
    "h": 330.309,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.13788,
    "h": 351.7
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#AB4A7A
secondary
#90C0A9
accent
#CF9558
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB4A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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