#AB3A97#AB3A97

#AB3A97 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.181 H 335.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AB3A97
RGBrgb(171, 58, 151)
HSLhsl(311, 49%, 45%)
HSVhsv(311, 66%, 67%)
CMYKcmyk(0%, 66.1%, 11.7%, 32.9%)
CIE-LABlab(44.12, 56.43, -27.49)
CIE-LCHlch(44.12, 62.77, 334.02°)
OKLaboklab(54.2% 0.1647 -0.0748)
OKLCHoklch(54.2% 0.181 335.6)
XYZxyz(23.8938, 13.9204, 30.7006)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3A97 #3AAB4E
analogous
#863AAB #AB3A97 #AB3A5F
triadic
#AB3A97 #97AB3A #3A97AB
tetradic
#AB3A97 #AB863A #3AAB4E #3A5FAB
square
#AB3A97 #AB863A #3AAB4E #3A5FAB
split-complementary
#AB3A97 #5FAB3A #3AAB86
monochromatic
#501B46 #7D2A6F #AB3A97 #C75BB4 #D789C9

Accessibility & contrast

On white

5.55
#AB3A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AB3A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3A97
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3A97#FFFFFF#000000##FFFFFF
##AB3A971.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D9A
Deuteranopia (green-blind)
#5F6E94
Tritanopia (blue-blind)
#B34163
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3a97;
/* rgb */ color: rgb(171, 58, 151);
/* oklch */ color: oklch(54.2% 0.181 335.6);
Tailwind
colors: {
  custom: {
    50: '#c779b6',
    500: '#ab3a97',
    950: '#000000',
  },
}
SCSS
$custom: #ab3a97;
$custom-light: #c779b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3a97",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 310.619,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.18086,
    "h": 335.6
  },
  "luminance": 0.13918
}

Semantic roles & 50–950 ramp

primary
#AB3A97
secondary
#80C18B
accent
#D9674F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3A97

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

Preview Lab → · Contrast checker → · Palette generator →

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