#AB3494#AB3494

#AB3494 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.186 H 336.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AB3494
RGBrgb(171, 52, 148)
HSLhsl(312, 53%, 44%)
HSVhsv(312, 70%, 67%)
CMYKcmyk(0%, 69.6%, 13.5%, 32.9%)
CIE-LABlab(43.14, 58.30, -27.21)
CIE-LCHlch(43.14, 64.34, 334.98°)
OKLaboklab(53.44% 0.1712 -0.074)
OKLCHoklch(53.44% 0.186 336.6)
XYZxyz(23.3682, 13.2541, 29.3388)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3494 #34AB4B
analogous
#8634AB #AB3494 #AB3458
triadic
#AB3494 #94AB34 #3494AB
tetradic
#AB3494 #AB8634 #34AB4B #3458AB
square
#AB3494 #AB8634 #34AB4B #3458AB
split-complementary
#AB3494 #58AB34 #34AB86
monochromatic
#4D1743 #7C266B #AB3494 #CA52B3 #D981C8

Accessibility & contrast

On white

5.75
#AB3494 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AB3494 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3494
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3494#FFFFFF#000000##FFFFFF
##AB34941.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A97
Deuteranopia (green-blind)
#5E6C91
Tritanopia (blue-blind)
#B43B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab3494;
/* rgb */ color: rgb(171, 52, 148);
/* oklch */ color: oklch(53.4% 0.186 336.6);
Tailwind
colors: {
  custom: {
    50: '#c776b3',
    500: '#ab3494',
    950: '#000000',
  },
}
SCSS
$custom: #ab3494;
$custom-light: #c776b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3494",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 311.597,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53441,
    "c": 0.18647,
    "h": 336.6
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#AB3494
secondary
#79C287
accent
#DD674B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3494

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

Preview Lab → · Contrast checker → · Palette generator →

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