#AB4178#AB4178

#AB4178 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.6% C 0.151 H 351.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AB4178
RGBrgb(171, 65, 120)
HSLhsl(329, 45%, 46%)
HSVhsv(329, 62%, 67%)
CMYKcmyk(0%, 62%, 29.8%, 32.9%)
CIE-LABlab(43.94, 48.99, -8.94)
CIE-LCHlch(43.94, 49.79, 349.66°)
OKLaboklab(53.65% 0.1488 -0.0231)
OKLCHoklch(53.65% 0.151 351.2)
XYZxyz(22.0760, 13.7968, 19.2661)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4178 #41AB74
analogous
#A941AB #AB4178 #AB4143
triadic
#AB4178 #78AB41 #4178AB
tetradic
#AB4178 #ABA941 #41AB74 #4143AB
square
#AB4178 #ABA941 #41AB74 #4143AB
split-complementary
#AB4178 #43AB41 #41ABA9
monochromatic
#521F3A #7F3059 #AB4178 #C46596 #D591B4

Accessibility & contrast

On white

5.59
#AB4178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AB4178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4178
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4178#FFFFFF#000000##FFFFFF
##AB41781.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7A
Deuteranopia (green-blind)
#6D6F75
Tritanopia (blue-blind)
#B73C57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab4178;
/* rgb */ color: rgb(171, 65, 120);
/* oklch */ color: oklch(53.6% 0.151 351.2);
Tailwind
colors: {
  custom: {
    50: '#c77b9f',
    500: '#ab4178',
    950: '#000000',
  },
}
SCSS
$custom: #ab4178;
$custom-light: #c77b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4178",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 328.868,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.15062,
    "h": 351.2
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#AB4178
secondary
#87C1A3
accent
#D59153
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4178

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

Preview Lab → · Contrast checker → · Palette generator →

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