#AB4398#AB4398

#AB4398 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.3% C 0.169 H 335.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB4398
RGBrgb(171, 67, 152)
HSLhsl(311, 44%, 47%)
HSVhsv(311, 61%, 67%)
CMYKcmyk(0%, 60.8%, 11.1%, 32.9%)
CIE-LABlab(45.55, 52.76, -25.86)
CIE-LCHlch(45.55, 58.76, 333.89°)
OKLaboklab(55.26% 0.1535 -0.0703)
OKLCHoklch(55.26% 0.169 335.4)
XYZxyz(24.4694, 14.9412, 31.2948)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4398 #43AB56
analogous
#8A43AB #AB4398 #AB4364
triadic
#AB4398 #98AB43 #4398AB
tetradic
#AB4398 #AB8A43 #43AB56 #4364AB
square
#AB4398 #AB8A43 #43AB56 #4364AB
split-complementary
#AB4398 #64AB43 #43AB8A
monochromatic
#53214A #7F3271 #AB4398 #C468B3 #D594C9

Accessibility & contrast

On white

5.27
#AB4398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB4398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4398
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4398#FFFFFF#000000##FFFFFF
##AB43981.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#647195
Tritanopia (blue-blind)
#B34967
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab4398;
/* rgb */ color: rgb(171, 67, 152);
/* oklch */ color: oklch(55.3% 0.169 335.4);
Tailwind
colors: {
  custom: {
    50: '#c77db6',
    500: '#ab4398',
    950: '#000000',
  },
}
SCSS
$custom: #ab4398;
$custom-light: #c77db6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4398",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 310.962,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55259,
    "c": 0.16884,
    "h": 335.4
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#AB4398
secondary
#89C093
accent
#D36C54
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB4398

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

Preview Lab → · Contrast checker → · Palette generator →

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