#AB4497#AB4497

#AB4497 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.3% C 0.167 H 335.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AB4497
RGBrgb(171, 68, 151)
HSLhsl(312, 43%, 47%)
HSVhsv(312, 60%, 67%)
CMYKcmyk(0%, 60.2%, 11.7%, 32.9%)
CIE-LABlab(45.67, 52.15, -25.08)
CIE-LCHlch(45.67, 57.87, 334.32°)
OKLaboklab(55.33% 0.152 -0.068)
OKLCHoklch(55.33% 0.167 335.9)
XYZxyz(24.4478, 15.0285, 30.8853)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4497 #44AB58
analogous
#8B44AB #AB4497 #AB4464
triadic
#AB4497 #97AB44 #4497AB
tetradic
#AB4497 #AB8B44 #44AB58 #4464AB
square
#AB4497 #AB8B44 #44AB58 #4464AB
split-complementary
#AB4497 #64AB44 #44AB8B
monochromatic
#53214A #7F3370 #AB4497 #C369B2 #D595C8

Accessibility & contrast

On white

5.24
#AB4497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AB4497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4497
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4497#FFFFFF#000000##FFFFFF
##AB44971.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45629A
Deuteranopia (green-blind)
#657294
Tritanopia (blue-blind)
#B34A67
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab4497;
/* rgb */ color: rgb(171, 68, 151);
/* oklch */ color: oklch(55.3% 0.167 335.9);
Tailwind
colors: {
  custom: {
    50: '#c77eb6',
    500: '#ab4497',
    950: '#000000',
  },
}
SCSS
$custom: #ab4497;
$custom-light: #c77eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4497",
  "rgb": {
    "r": 171,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 311.65,
    "s": 43.096,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55332,
    "c": 0.16657,
    "h": 335.9
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#AB4497
secondary
#8AC095
accent
#D36D55
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB4497

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

Preview Lab → · Contrast checker → · Palette generator →

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