#AB4277#AB4277

#AB4277 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.7% C 0.149 H 351.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AB4277
RGBrgb(171, 66, 119)
HSLhsl(330, 44%, 46%)
HSVhsv(330, 61%, 67%)
CMYKcmyk(0%, 61.4%, 30.4%, 32.9%)
CIE-LABlab(44.07, 48.40, -8.12)
CIE-LCHlch(44.07, 49.08, 350.47°)
OKLaboklab(53.74% 0.1471 -0.021)
OKLCHoklch(53.74% 0.149 351.9)
XYZxyz(22.0736, 13.8885, 18.9674)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4277 #42AB76
analogous
#AB42AB #AB4277 #AB4243
triadic
#AB4277 #77AB42 #4277AB
tetradic
#AB4277 #ABAB42 #42AB76 #4243AB
square
#AB4277 #ABAB42 #42AB76 #4243AB
split-complementary
#AB4277 #43AB42 #42ABAB
monochromatic
#53203A #7F3158 #AB4277 #C46696 #D592B4

Accessibility & contrast

On white

5.56
#AB4277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AB4277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4277
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4277#FFFFFF#000000##FFFFFF
##AB42771.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515C79
Deuteranopia (green-blind)
#6E6F74
Tritanopia (blue-blind)
#B73D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab4277;
/* rgb */ color: rgb(171, 66, 119);
/* oklch */ color: oklch(53.7% 0.149 351.9);
Tailwind
colors: {
  custom: {
    50: '#c77c9e',
    500: '#ab4277',
    950: '#000000',
  },
}
SCSS
$custom: #ab4277;
$custom-light: #c77c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4277",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 329.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.14862,
    "h": 351.9
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#AB4277
secondary
#88C0A4
accent
#D49354
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4277

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

Preview Lab → · Contrast checker → · Palette generator →

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