#AB3192#AB3192

#AB3192 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.189 H 337.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB3192
RGBrgb(171, 49, 146)
HSLhsl(312, 55%, 43%)
HSVhsv(312, 71%, 67%)
CMYKcmyk(0%, 71.3%, 14.6%, 32.9%)
CIE-LABlab(42.66, 59.10, -26.75)
CIE-LCHlch(42.66, 64.87, 335.65°)
OKLaboklab(53.06% 0.1742 -0.0727)
OKLCHoklch(53.06% 0.189 337.4)
XYZxyz(23.0816, 12.9320, 28.4691)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3192 #31AB4A
analogous
#8731AB #AB3192 #AB3155
triadic
#AB3192 #92AB31 #3192AB
tetradic
#AB3192 #AB8731 #31AB4A #3155AB
square
#AB3192 #AB8731 #31AB4A #3155AB
split-complementary
#AB3192 #55AB31 #31AB87
monochromatic
#4C1641 #7B2369 #AB3192 #CC4DB2 #DA7DC7

Accessibility & contrast

On white

5.86
#AB3192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB3192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3192
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3192#FFFFFF#000000##FFFFFF
##AB31921.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355995
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#B4385D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3192;
/* rgb */ color: rgb(171, 49, 146);
/* oklch */ color: oklch(53.1% 0.189 337.4);
Tailwind
colors: {
  custom: {
    50: '#c874b2',
    500: '#ab3192',
    950: '#000000',
  },
}
SCSS
$custom: #ab3192;
$custom-light: #c874b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3192",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 312.295,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5306,
    "c": 0.18872,
    "h": 337.4
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#AB3192
secondary
#75C285
accent
#DF6849
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3192

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

Preview Lab → · Contrast checker → · Palette generator →

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