#AB5697#AB5697

#AB5697 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.8% C 0.137 H 336.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB5697
RGBrgb(171, 86, 151)
HSLhsl(314, 34%, 50%)
HSVhsv(314, 50%, 67%)
CMYKcmyk(0%, 49.7%, 11.7%, 32.9%)
CIE-LABlab(48.95, 43.42, -20.03)
CIE-LCHlch(48.95, 47.82, 335.24°)
OKLaboklab(57.75% 0.1264 -0.054)
OKLCHoklch(57.75% 0.137 336.9)
XYZxyz(25.7084, 17.5496, 31.3055)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5697 #56AB6A
analogous
#9556AB #AB5697 #AB566C
triadic
#AB5697 #97AB56 #5697AB
tetradic
#AB5697 #AB9556 #56AB6A #566CAB
square
#AB5697 #AB9556 #56AB6A #566CAB
split-complementary
#AB5697 #6CAB56 #56AB95
monochromatic
#5A2D4F #834173 #AB5697 #BF7FB0 #D4A8C9

Accessibility & contrast

On white

4.66
#AB5697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AB5697 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5697
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5697#FFFFFF#000000##FFFFFF
##AB56971.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586C99
Deuteranopia (green-blind)
#6F7995
Tritanopia (blue-blind)
#B3596F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab5697;
/* rgb */ color: rgb(171, 86, 151);
/* oklch */ color: oklch(57.8% 0.137 336.9);
Tailwind
colors: {
  custom: {
    50: '#c689b5',
    500: '#ab5697',
    950: '#000000',
  },
}
SCSS
$custom: #ab5697;
$custom-light: #c689b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5697",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 314.118,
    "s": 33.597,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.13745,
    "h": 336.9
  },
  "luminance": 0.17548
}

Semantic roles & 50–950 ramp

primary
#AB5697
secondary
#9BC1A4
accent
#CA775E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AB5697

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

Preview Lab → · Contrast checker → · Palette generator →

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