#AB3497#AB3497

#AB3497 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.189 H 335.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AB3497
RGBrgb(171, 52, 151)
HSLhsl(310, 53%, 44%)
HSVhsv(310, 70%, 67%)
CMYKcmyk(0%, 69.6%, 11.7%, 32.9%)
CIE-LABlab(43.29, 58.76, -28.79)
CIE-LCHlch(43.29, 65.43, 333.89°)
OKLaboklab(53.59% 0.1715 -0.0785)
OKLCHoklch(53.59% 0.189 335.4)
XYZxyz(23.6088, 13.3503, 30.6056)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3497 #34AB48
analogous
#8334AB #AB3497 #AB345B
triadic
#AB3497 #97AB34 #3497AB
tetradic
#AB3497 #AB8334 #34AB48 #345BAB
square
#AB3497 #AB8334 #34AB48 #345BAB
split-complementary
#AB3497 #5BAB34 #34AB83
monochromatic
#4D1744 #7C266E #AB3497 #CA52B6 #D981CA

Accessibility & contrast

On white

5.72
#AB3497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AB3497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3497
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3497#FFFFFF#000000##FFFFFF
##AB34971.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9A
Deuteranopia (green-blind)
#5D6D94
Tritanopia (blue-blind)
#B33C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab3497;
/* rgb */ color: rgb(171, 52, 151);
/* oklch */ color: oklch(53.6% 0.189 335.4);
Tailwind
colors: {
  custom: {
    50: '#c776b6',
    500: '#ab3497',
    950: '#000000',
  },
}
SCSS
$custom: #ab3497;
$custom-light: #c776b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3497",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 310.084,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.18864,
    "h": 335.4
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#AB3497
secondary
#79C285
accent
#DD644B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3497

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

Preview Lab → · Contrast checker → · Palette generator →

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