#AB5097#AB5097

#AB5097 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.9% C 0.148 H 336.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB5097
RGBrgb(171, 80, 151)
HSLhsl(313, 36%, 49%)
HSVhsv(313, 53%, 67%)
CMYKcmyk(0%, 53.2%, 11.7%, 32.9%)
CIE-LABlab(47.79, 46.45, -21.80)
CIE-LCHlch(47.79, 51.32, 334.86°)
OKLaboklab(56.89% 0.1353 -0.0589)
OKLCHoklch(56.89% 0.148 336.5)
XYZxyz(25.2493, 16.6314, 31.1525)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5097 #50AB64
analogous
#9250AB #AB5097 #AB506A
triadic
#AB5097 #97AB50 #5097AB
tetradic
#AB5097 #AB9250 #50AB64 #506AAB
square
#AB5097 #AB9250 #50AB64 #506AAB
split-complementary
#AB5097 #6AAB50 #50AB92
monochromatic
#58294D #813C72 #AB5097 #C078B0 #D3A2C9

Accessibility & contrast

On white

4.85
#AB5097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AB5097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5097
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5097#FFFFFF#000000##FFFFFF
##AB50971.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516999
Deuteranopia (green-blind)
#6B7695
Tritanopia (blue-blind)
#B3546C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab5097;
/* rgb */ color: rgb(171, 80, 151);
/* oklch */ color: oklch(56.9% 0.148 336.5);
Tailwind
colors: {
  custom: {
    50: '#c685b5',
    500: '#ab5097',
    950: '#000000',
  },
}
SCSS
$custom: #ab5097;
$custom-light: #c685b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5097",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 313.187,
    "s": 36.255,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.14756,
    "h": 336.5
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#AB5097
secondary
#96C1A0
accent
#CC745C
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB5097

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

Preview Lab → · Contrast checker → · Palette generator →

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