#AB3C97#AB3C97

#AB3C97 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.178 H 335.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB3C97
RGBrgb(171, 60, 151)
HSLhsl(311, 48%, 45%)
HSVhsv(311, 65%, 67%)
CMYKcmyk(0%, 64.9%, 11.7%, 32.9%)
CIE-LABlab(44.41, 55.61, -27.04)
CIE-LCHlch(44.41, 61.84, 334.07°)
OKLaboklab(54.41% 0.1622 -0.0736)
OKLCHoklch(54.41% 0.178 335.6)
XYZxyz(23.9966, 14.1260, 30.7349)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3C97 #3CAB50
analogous
#883CAB #AB3C97 #AB3C5F
triadic
#AB3C97 #97AB3C #3C97AB
tetradic
#AB3C97 #AB883C #3CAB50 #3C5FAB
square
#AB3C97 #AB883C #3CAB50 #3C5FAB
split-complementary
#AB3C97 #5FAB3C #3CAB88
monochromatic
#501C47 #7E2C6F #AB3C97 #C65EB4 #D68BC9

Accessibility & contrast

On white

5.49
#AB3C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AB3C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3C97
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3C97#FFFFFF#000000##FFFFFF
##AB3C971.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3c97;
/* rgb */ color: rgb(171, 60, 151);
/* oklch */ color: oklch(54.4% 0.178 335.6);
Tailwind
colors: {
  custom: {
    50: '#c77ab6',
    500: '#ab3c97',
    950: '#000000',
  },
}
SCSS
$custom: #ab3c97;
$custom-light: #c77ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3c97",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 310.811,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.17814,
    "h": 335.6
  },
  "luminance": 0.14124
}

Semantic roles & 50–950 ramp

primary
#AB3C97
secondary
#82C18D
accent
#D86950
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3C97

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

Preview Lab → · Contrast checker → · Palette generator →

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