#AB4672#AB4672

#AB4672 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.1% C 0.140 H 355.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB4672
RGBrgb(171, 70, 114)
HSLhsl(334, 42%, 47%)
HSVhsv(334, 59%, 67%)
CMYKcmyk(0%, 59.1%, 33.3%, 32.9%)
CIE-LABlab(44.60, 45.91, -4.28)
CIE-LCHlch(44.60, 46.11, 354.67°)
OKLaboklab(54.07% 0.1398 -0.0107)
OKLCHoklch(54.07% 0.14 355.6)
XYZxyz(22.0231, 14.2554, 17.5081)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4672 #46AB7F
analogous
#AB46A5 #AB4672 #AB4C46
triadic
#AB4672 #72AB46 #4672AB
tetradic
#AB4672 #A5AB46 #46AB7F #4C46AB
square
#AB4672 #A5AB46 #46AB7F #4C46AB
split-complementary
#AB4672 #46AB4C #46A5AB
monochromatic
#542238 #803455 #AB4672 #C36C91 #D497B2

Accessibility & contrast

On white

5.45
#AB4672 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB4672 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4672
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4672#FFFFFF#000000##FFFFFF
##AB46721.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E73
Deuteranopia (green-blind)
#717070
Tritanopia (blue-blind)
#B83F57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4672;
/* rgb */ color: rgb(171, 70, 114);
/* oklch */ color: oklch(54.1% 0.140 355.6);
Tailwind
colors: {
  custom: {
    50: '#c77e9a',
    500: '#ab4672',
    950: '#000000',
  },
}
SCSS
$custom: #ab4672;
$custom-light: #c77e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4672",
  "rgb": {
    "r": 171,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 333.861,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.1402,
    "h": 355.6
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#AB4672
secondary
#8CC0AA
accent
#D29C56
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4672

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

Preview Lab → · Contrast checker → · Palette generator →

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