#AB4574#AB4574

#AB4574 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.0% C 0.143 H 354.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AB4574
RGBrgb(171, 69, 116)
HSLhsl(332, 43%, 47%)
HSVhsv(332, 60%, 67%)
CMYKcmyk(0%, 59.6%, 32.2%, 32.9%)
CIE-LABlab(44.49, 46.63, -5.67)
CIE-LCHlch(44.49, 46.98, 353.07°)
OKLaboklab(54.01% 0.1419 -0.0144)
OKLCHoklch(54.01% 0.143 354.2)
XYZxyz(22.0762, 14.1774, 18.0935)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4574 #45AB7C
analogous
#AB45A7 #AB4574 #AB4945
triadic
#AB4574 #74AB45 #4574AB
tetradic
#AB4574 #A7AB45 #45AB7C #4945AB
square
#AB4574 #A7AB45 #45AB7C #4945AB
split-complementary
#AB4574 #45AB49 #45A7AB
monochromatic
#542239 #7F3356 #AB4574 #C36A93 #D596B3

Accessibility & contrast

On white

5.48
#AB4574 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AB4574 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4574
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4574#FFFFFF#000000##FFFFFF
##AB45741.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545E75
Deuteranopia (green-blind)
#707072
Tritanopia (blue-blind)
#B73F57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4574;
/* rgb */ color: rgb(171, 69, 116);
/* oklch */ color: oklch(54.0% 0.143 354.2);
Tailwind
colors: {
  custom: {
    50: '#c77e9c',
    500: '#ab4574',
    950: '#000000',
  },
}
SCSS
$custom: #ab4574;
$custom-light: #c77e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4574",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 116
  },
  "hsl": {
    "h": 332.353,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5401,
    "c": 0.14263,
    "h": 354.2
  },
  "luminance": 0.14175
}

Semantic roles & 50–950 ramp

primary
#AB4574
secondary
#8BC0A8
accent
#D29956
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4574

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

Preview Lab → · Contrast checker → · Palette generator →

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