#AB3A71#AB3A71

#AB3A71 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.6% C 0.157 H 353.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AB3A71
RGBrgb(171, 58, 113)
HSLhsl(331, 49%, 45%)
HSVhsv(331, 66%, 67%)
CMYKcmyk(0%, 66.1%, 33.9%, 32.9%)
CIE-LABlab(42.58, 51.15, -6.66)
CIE-LCHlch(42.58, 51.59, 352.58°)
OKLaboklab(52.56% 0.1562 -0.017)
OKLCHoklch(52.56% 0.157 353.8)
XYZxyz(21.2894, 12.8786, 16.9843)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3A71 #3AAB74
analogous
#AB3AAA #AB3A71 #AB3B3A
triadic
#AB3A71 #71AB3A #3A71AB
tetradic
#AB3A71 #AAAB3A #3AAB74 #3B3AAB
square
#AB3A71 #AAAB3A #3AAB74 #3B3AAB
split-complementary
#AB3A71 #3AAB3B #3AAAAB
monochromatic
#501B35 #7D2A53 #AB3A71 #C75B90 #D789AF

Accessibility & contrast

On white

5.87
#AB3A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB3A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3A71
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3A71#FFFFFF#000000##FFFFFF
##AB3A711.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5773
Deuteranopia (green-blind)
#6B6C6E
Tritanopia (blue-blind)
#B83251
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3a71;
/* rgb */ color: rgb(171, 58, 113);
/* oklch */ color: oklch(52.6% 0.157 353.8);
Tailwind
colors: {
  custom: {
    50: '#c87899',
    500: '#ab3a71',
    950: '#000000',
  },
}
SCSS
$custom: #ab3a71;
$custom-light: #c87899;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3a71",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 330.796,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52564,
    "c": 0.15713,
    "h": 353.8
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#AB3A71
secondary
#80C1A1
accent
#D9964F
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3A71

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

Preview Lab → · Contrast checker → · Palette generator →

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