#AB4396#AB4396

#AB4396 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.2% C 0.167 H 336.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB4396
RGBrgb(171, 67, 150)
HSLhsl(312, 44%, 47%)
HSVhsv(312, 61%, 67%)
CMYKcmyk(0%, 60.8%, 12.3%, 32.9%)
CIE-LABlab(45.46, 52.44, -24.80)
CIE-LCHlch(45.46, 58.01, 334.69°)
OKLaboklab(55.16% 0.1532 -0.0673)
OKLCHoklch(55.16% 0.167 336.3)
XYZxyz(24.3070, 14.8762, 30.4394)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4396 #43AB58
analogous
#8C43AB #AB4396 #AB4362
triadic
#AB4396 #96AB43 #4396AB
tetradic
#AB4396 #AB8C43 #43AB58 #4362AB
square
#AB4396 #AB8C43 #43AB58 #4362AB
split-complementary
#AB4396 #62AB43 #43AB8C
monochromatic
#532149 #7F326F #AB4396 #C468B1 #D594C8

Accessibility & contrast

On white

5.28
#AB4396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB4396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4396
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4396#FFFFFF#000000##FFFFFF
##AB43961.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#647193
Tritanopia (blue-blind)
#B34866
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab4396;
/* rgb */ color: rgb(171, 67, 150);
/* oklch */ color: oklch(55.2% 0.167 336.3);
Tailwind
colors: {
  custom: {
    50: '#c77db5',
    500: '#ab4396',
    950: '#000000',
  },
}
SCSS
$custom: #ab4396;
$custom-light: #c77db5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4396",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 312.115,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.1673,
    "h": 336.3
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#AB4396
secondary
#89C094
accent
#D36E54
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB4396

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

Preview Lab → · Contrast checker → · Palette generator →

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