#AB4B97#AB4B97

#AB4B97 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.2% C 0.156 H 336.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AB4B97
RGBrgb(171, 75, 151)
HSLhsl(313, 39%, 48%)
HSVhsv(313, 56%, 67%)
CMYKcmyk(0%, 56.1%, 11.7%, 32.9%)
CIE-LABlab(46.88, 48.89, -23.21)
CIE-LCHlch(46.88, 54.12, 334.60°)
OKLaboklab(56.22% 0.1425 -0.0628)
OKLCHoklch(56.22% 0.156 336.2)
XYZxyz(24.8968, 15.9263, 31.0349)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4B97 #4BAB5F
analogous
#8F4BAB #AB4B97 #AB4B67
triadic
#AB4B97 #97AB4B #4B97AB
tetradic
#AB4B97 #AB8F4B #4BAB5F #4B67AB
square
#AB4B97 #AB8F4B #4BAB5F #4B67AB
split-complementary
#AB4B97 #67AB4B #4BAB8F
monochromatic
#56264C #803871 #AB4B97 #C172B1 #D49DC8

Accessibility & contrast

On white

5.02
#AB4B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB4B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4B97
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4B97#FFFFFF#000000##FFFFFF
##AB4B971.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6699
Deuteranopia (green-blind)
#687494
Tritanopia (blue-blind)
#B3506A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab4b97;
/* rgb */ color: rgb(171, 75, 151);
/* oklch */ color: oklch(56.2% 0.156 336.2);
Tailwind
colors: {
  custom: {
    50: '#c682b5',
    500: '#ab4b97',
    950: '#000000',
  },
}
SCSS
$custom: #ab4b97;
$custom-light: #c682b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4b97",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 312.5,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.15569,
    "h": 336.2
  },
  "luminance": 0.15924
}

Semantic roles & 50–950 ramp

primary
#AB4B97
secondary
#91C09B
accent
#CF7159
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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