#AB3B97#AB3B97

#AB3B97 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.180 H 335.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AB3B97
RGBrgb(171, 59, 151)
HSLhsl(311, 49%, 45%)
HSVhsv(311, 65%, 67%)
CMYKcmyk(0%, 65.5%, 11.7%, 32.9%)
CIE-LABlab(44.26, 56.02, -27.27)
CIE-LCHlch(44.26, 62.31, 334.05°)
OKLaboklab(54.3% 0.1635 -0.0742)
OKLCHoklch(54.3% 0.18 335.6)
XYZxyz(23.9447, 14.0222, 30.7176)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3B97 #3BAB4F
analogous
#873BAB #AB3B97 #AB3B5F
triadic
#AB3B97 #97AB3B #3B97AB
tetradic
#AB3B97 #AB873B #3BAB4F #3B5FAB
square
#AB3B97 #AB873B #3BAB4F #3B5FAB
split-complementary
#AB3B97 #5FAB3B #3BAB87
monochromatic
#501C47 #7D2B6F #AB3B97 #C75CB4 #D78AC9

Accessibility & contrast

On white

5.52
#AB3B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AB3B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3B97
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3B97#FFFFFF#000000##FFFFFF
##AB3B971.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9A
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#B34264
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab3b97;
/* rgb */ color: rgb(171, 59, 151);
/* oklch */ color: oklch(54.3% 0.180 335.6);
Tailwind
colors: {
  custom: {
    50: '#c779b6',
    500: '#ab3b97',
    950: '#000000',
  },
}
SCSS
$custom: #ab3b97;
$custom-light: #c779b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3b97",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 310.714,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54302,
    "c": 0.17951,
    "h": 335.6
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#AB3B97
secondary
#81C18C
accent
#D86850
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3B97

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

Preview Lab → · Contrast checker → · Palette generator →

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