#AB3294#AB3294

#AB3294 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.189 H 336.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AB3294
RGBrgb(171, 50, 148)
HSLhsl(311, 55%, 43%)
HSVhsv(311, 71%, 67%)
CMYKcmyk(0%, 70.8%, 13.5%, 32.9%)
CIE-LABlab(42.88, 59.04, -27.61)
CIE-LCHlch(42.88, 65.18, 334.93°)
OKLaboklab(53.25% 0.1734 -0.0751)
OKLCHoklch(53.25% 0.189 336.6)
XYZxyz(23.2809, 13.0793, 29.3097)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3294 #32AB49
analogous
#8532AB #AB3294 #AB3257
triadic
#AB3294 #94AB32 #3294AB
tetradic
#AB3294 #AB8532 #32AB49 #3257AB
square
#AB3294 #AB8532 #32AB49 #3257AB
split-complementary
#AB3294 #57AB32 #32AB85
monochromatic
#4C1642 #7C246B #AB3294 #CB4FB4 #D97EC8

Accessibility & contrast

On white

5.81
#AB3294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AB3294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3294
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3294#FFFFFF#000000##FFFFFF
##AB32941.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A97
Deuteranopia (green-blind)
#5D6C91
Tritanopia (blue-blind)
#B4395F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3294;
/* rgb */ color: rgb(171, 50, 148);
/* oklch */ color: oklch(53.3% 0.189 336.6);
Tailwind
colors: {
  custom: {
    50: '#c875b3',
    500: '#ab3294',
    950: '#000000',
  },
}
SCSS
$custom: #ab3294;
$custom-light: #c875b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3294",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 311.405,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53252,
    "c": 0.18893,
    "h": 336.6
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#AB3294
secondary
#77C285
accent
#DE664A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3294

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

Preview Lab → · Contrast checker → · Palette generator →

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