#AB4597#AB4597

#AB4597 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.5% C 0.165 H 335.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB4597
RGBrgb(171, 69, 151)
HSLhsl(312, 43%, 47%)
HSVhsv(312, 60%, 67%)
CMYKcmyk(0%, 59.6%, 11.7%, 32.9%)
CIE-LABlab(45.84, 51.70, -24.82)
CIE-LCHlch(45.84, 57.35, 334.36°)
OKLaboklab(55.45% 0.1507 -0.0673)
OKLCHoklch(55.45% 0.165 335.9)
XYZxyz(24.5088, 15.1504, 30.9056)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4597 #45AB59
analogous
#8C45AB #AB4597 #AB4564
triadic
#AB4597 #97AB45 #4597AB
tetradic
#AB4597 #AB8C45 #45AB59 #4564AB
square
#AB4597 #AB8C45 #45AB59 #4564AB
split-complementary
#AB4597 #64AB45 #45AB8C
monochromatic
#54224A #7F3370 #AB4597 #C36AB2 #D596C8

Accessibility & contrast

On white

5.21
#AB4597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB4597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4597
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4597#FFFFFF#000000##FFFFFF
##AB45971.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46639A
Deuteranopia (green-blind)
#657294
Tritanopia (blue-blind)
#B34A68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab4597;
/* rgb */ color: rgb(171, 69, 151);
/* oklch */ color: oklch(55.5% 0.165 335.9);
Tailwind
colors: {
  custom: {
    50: '#c77eb6',
    500: '#ab4597',
    950: '#000000',
  },
}
SCSS
$custom: #ab4597;
$custom-light: #c77eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4597",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 311.765,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.16505,
    "h": 335.9
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#AB4597
secondary
#8BC096
accent
#D26E56
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB4597

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

Preview Lab → · Contrast checker → · Palette generator →

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