#AB5897#AB5897

#AB5897 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.0% C 0.134 H 337.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB5897
RGBrgb(171, 88, 151)
HSLhsl(314, 33%, 51%)
HSVhsv(314, 49%, 67%)
CMYKcmyk(0%, 48.5%, 11.7%, 32.9%)
CIE-LABlab(49.34, 42.39, -19.42)
CIE-LCHlch(49.34, 46.62, 335.38°)
OKLaboklab(58.05% 0.1234 -0.0523)
OKLCHoklch(58.05% 0.134 337)
XYZxyz(25.8704, 17.8735, 31.3595)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5897 #58AB6C
analogous
#9558AB #AB5897 #AB586D
triadic
#AB5897 #97AB58 #5897AB
tetradic
#AB5897 #AB9558 #58AB6C #586DAB
square
#AB5897 #AB9558 #58AB6C #586DAB
split-complementary
#AB5897 #6DAB58 #58AB95
monochromatic
#5B2E50 #844274 #AB5897 #BF81B0 #D4A9CA

Accessibility & contrast

On white

4.59
#AB5897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AB5897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5897
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5897#FFFFFF#000000##FFFFFF
##AB58971.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6D99
Deuteranopia (green-blind)
#707A95
Tritanopia (blue-blind)
#B35B70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab5897;
/* rgb */ color: rgb(171, 88, 151);
/* oklch */ color: oklch(58.0% 0.134 337.0);
Tailwind
colors: {
  custom: {
    50: '#c68ab5',
    500: '#ab5897',
    950: '#000000',
  },
}
SCSS
$custom: #ab5897;
$custom-light: #c68ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5897",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 314.458,
    "s": 33.068,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.134,
    "h": 337
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

primary
#AB5897
secondary
#9DC2A6
accent
#C9785F
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AB5897

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

Preview Lab → · Contrast checker → · Palette generator →

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