#AB4B7B#AB4B7B

#AB4B7B is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.1% C 0.137 H 351.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AB4B7B
RGBrgb(171, 75, 123)
HSLhsl(330, 39%, 48%)
HSVhsv(330, 56%, 67%)
CMYKcmyk(0%, 56.1%, 28.1%, 32.9%)
CIE-LABlab(45.80, 44.68, -7.98)
CIE-LCHlch(45.80, 45.39, 349.87°)
OKLaboklab(55.07% 0.1353 -0.0206)
OKLCHoklch(55.07% 0.137 351.3)
XYZxyz(22.8867, 15.1223, 20.4486)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4B7B #4BAB7B
analogous
#AB4BAB #AB4B7B #AB4B4B
triadic
#AB4B7B #7BAB4B #4B7BAB
tetradic
#AB4B7B #ABAB4B #4BAB7B #4B4BAB
square
#AB4B7B #ABAB4B #4BAB7B #4B4BAB
split-complementary
#AB4B7B #4BAB4B #4BABAB
monochromatic
#56263E #80385C #AB4B7B #C1729A #D49DB8

Accessibility & contrast

On white

5.22
#AB4B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AB4B7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4B7B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4B7B#FFFFFF#000000##FFFFFF
##AB4B7B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627D
Deuteranopia (green-blind)
#717379
Tritanopia (blue-blind)
#B6475E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab4b7b;
/* rgb */ color: rgb(171, 75, 123);
/* oklch */ color: oklch(55.1% 0.137 351.3);
Tailwind
colors: {
  custom: {
    50: '#c781a1',
    500: '#ab4b7b',
    950: '#000000',
  },
}
SCSS
$custom: #ab4b7b;
$custom-light: #c781a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4b7b",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 123
  },
  "hsl": {
    "h": 330,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55066,
    "c": 0.13682,
    "h": 351.3
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#AB4B7B
secondary
#91C0A9
accent
#CF9459
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AB4B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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