#AB4873#AB4873

#AB4873 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.4% C 0.138 H 355.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AB4873
RGBrgb(171, 72, 115)
HSLhsl(334, 41%, 48%)
HSVhsv(334, 58%, 67%)
CMYKcmyk(0%, 57.9%, 32.7%, 32.9%)
CIE-LABlab(44.99, 45.08, -4.31)
CIE-LCHlch(44.99, 45.29, 354.53°)
OKLaboklab(54.37% 0.1372 -0.0108)
OKLCHoklch(54.37% 0.138 355.5)
XYZxyz(22.2075, 14.5327, 17.8519)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4873 #48AB80
analogous
#AB48A5 #AB4873 #AB4E48
triadic
#AB4873 #73AB48 #4873AB
tetradic
#AB4873 #A5AB48 #48AB80 #4E48AB
square
#AB4873 #A5AB48 #48AB80 #4E48AB
split-complementary
#AB4873 #48AB4E #48A5AB
monochromatic
#552439 #803656 #AB4873 #C26E93 #D499B3

Accessibility & contrast

On white

5.38
#AB4873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB4873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4873
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4873#FFFFFF#000000##FFFFFF
##AB48731.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F74
Deuteranopia (green-blind)
#717171
Tritanopia (blue-blind)
#B74259
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4873;
/* rgb */ color: rgb(171, 72, 115);
/* oklch */ color: oklch(54.4% 0.138 355.5);
Tailwind
colors: {
  custom: {
    50: '#c77f9b',
    500: '#ab4873',
    950: '#000000',
  },
}
SCSS
$custom: #ab4873;
$custom-light: #c77f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4873",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 333.939,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.13758,
    "h": 355.5
  },
  "luminance": 0.1453
}

Semantic roles & 50–950 ramp

primary
#AB4873
secondary
#8EC0AB
accent
#D19C57
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4873

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

Preview Lab → · Contrast checker → · Palette generator →

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