#AB4D97#AB4D97

#AB4D97 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.5% C 0.152 H 336.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AB4D97
RGBrgb(171, 77, 151)
HSLhsl(313, 38%, 49%)
HSVhsv(313, 55%, 67%)
CMYKcmyk(0%, 55%, 11.7%, 32.9%)
CIE-LABlab(47.24, 47.93, -22.66)
CIE-LCHlch(47.24, 53.01, 334.70°)
OKLaboklab(56.48% 0.1396 -0.0613)
OKLCHoklch(56.48% 0.152 336.3)
XYZxyz(25.0346, 16.2019, 31.0809)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4D97 #4DAB61
analogous
#904DAB #AB4D97 #AB4D68
triadic
#AB4D97 #97AB4D #4D97AB
tetradic
#AB4D97 #AB904D #4DAB61 #4D68AB
square
#AB4D97 #AB904D #4DAB61 #4D68AB
split-complementary
#AB4D97 #68AB4D #4DAB90
monochromatic
#57274C #813A72 #AB4D97 #C175B0 #D49FC8

Accessibility & contrast

On white

4.95
#AB4D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AB4D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4D97
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4D97#FFFFFF#000000##FFFFFF
##AB4D971.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6799
Deuteranopia (green-blind)
#6A7594
Tritanopia (blue-blind)
#B3516B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab4d97;
/* rgb */ color: rgb(171, 77, 151);
/* oklch */ color: oklch(56.5% 0.152 336.3);
Tailwind
colors: {
  custom: {
    50: '#c683b5',
    500: '#ab4d97',
    950: '#000000',
  },
}
SCSS
$custom: #ab4d97;
$custom-light: #c683b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4d97",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 312.766,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.15247,
    "h": 336.3
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#AB4D97
secondary
#93C09D
accent
#CE735A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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