#AB4A6A#AB4A6A

#AB4A6A is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.4% C 0.131 H 1.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB4A6A
RGBrgb(171, 74, 106)
HSLhsl(340, 40%, 48%)
HSVhsv(340, 57%, 67%)
CMYKcmyk(0%, 56.7%, 38%, 32.9%)
CIE-LABlab(45.08, 43.01, 1.33)
CIE-LCHlch(45.08, 43.03, 1.77°)
OKLaboklab(54.35% 0.131 0.004)
OKLCHoklch(54.35% 0.131 1.7)
XYZxyz(21.8461, 14.5984, 15.3001)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4A6A #4AAB8B
analogous
#AB4A9A #AB4A6A #AB5A4A
triadic
#AB4A6A #6AAB4A #4A6AAB
tetradic
#AB4A6A #9AAB4A #4AAB8B #5A4AAB
square
#AB4A6A #9AAB4A #4AAB8B #5A4AAB
split-complementary
#AB4A6A #4AAB5A #4A9AAB
monochromatic
#562535 #803850 #AB4A6A #C1718B #D49BAE

Accessibility & contrast

On white

5.36
#AB4A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB4A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4A6A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4A6A#FFFFFF#000000##FFFFFF
##AB4A6A1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5F6B
Deuteranopia (green-blind)
#747268
Tritanopia (blue-blind)
#B84156
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4a6a;
/* rgb */ color: rgb(171, 74, 106);
/* oklch */ color: oklch(54.4% 0.131 1.7);
Tailwind
colors: {
  custom: {
    50: '#c78094',
    500: '#ab4a6a',
    950: '#000000',
  },
}
SCSS
$custom: #ab4a6a;
$custom-light: #c78094;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4a6a",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 106
  },
  "hsl": {
    "h": 340.206,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.13107,
    "h": 1.7
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#AB4A6A
secondary
#90C0B1
accent
#CFA858
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AB4A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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