#AB4E97#AB4E97

#AB4E97 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.6% C 0.151 H 336.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB4E97
RGBrgb(171, 78, 151)
HSLhsl(313, 37%, 49%)
HSVhsv(313, 54%, 67%)
CMYKcmyk(0%, 54.4%, 11.7%, 32.9%)
CIE-LABlab(47.42, 47.44, -22.37)
CIE-LCHlch(47.42, 52.45, 334.75°)
OKLaboklab(56.62% 0.1382 -0.0605)
OKLCHoklch(56.62% 0.151 336.4)
XYZxyz(25.1051, 16.3429, 31.1044)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E97 #4EAB62
analogous
#914EAB #AB4E97 #AB4E69
triadic
#AB4E97 #97AB4E #4E97AB
tetradic
#AB4E97 #AB914E #4EAB62 #4E69AB
square
#AB4E97 #AB914E #4EAB62 #4E69AB
split-complementary
#AB4E97 #69AB4E #4EAB91
monochromatic
#57284D #813B72 #AB4E97 #C076B0 #D4A0C8

Accessibility & contrast

On white

4.92
#AB4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AB4E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E97
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E97#FFFFFF#000000##FFFFFF
##AB4E971.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6899
Deuteranopia (green-blind)
#6A7694
Tritanopia (blue-blind)
#B3526C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab4e97;
/* rgb */ color: rgb(171, 78, 151);
/* oklch */ color: oklch(56.6% 0.151 336.4);
Tailwind
colors: {
  custom: {
    50: '#c684b5',
    500: '#ab4e97',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e97;
$custom-light: #c684b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e97",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 312.903,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.15084,
    "h": 336.4
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#AB4E97
secondary
#94C19E
accent
#CD735A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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