#AB3189#AB3189

#AB3189 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.183 H 341.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB3189
RGBrgb(171, 49, 137)
HSLhsl(317, 55%, 43%)
HSVhsv(317, 71%, 67%)
CMYKcmyk(0%, 71.3%, 19.9%, 32.9%)
CIE-LABlab(42.25, 57.80, -21.91)
CIE-LCHlch(42.25, 61.82, 339.24°)
OKLaboklab(52.63% 0.1728 -0.0589)
OKLCHoklch(52.63% 0.183 341.2)
XYZxyz(22.4089, 12.6629, 24.9261)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3189 #31AB53
analogous
#9031AB #AB3189 #AB314C
triadic
#AB3189 #89AB31 #3189AB
tetradic
#AB3189 #AB9031 #31AB53 #314CAB
square
#AB3189 #AB9031 #31AB53 #314CAB
split-complementary
#AB3189 #4CAB31 #31AB90
monochromatic
#4C163D #7B2363 #AB3189 #CC4DA9 #DA7DC0

Accessibility & contrast

On white

5.95
#AB3189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB3189 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3189
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3189#FFFFFF#000000##FFFFFF
##AB31891.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B578B
Deuteranopia (green-blind)
#616B86
Tritanopia (blue-blind)
#B53359
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3189;
/* rgb */ color: rgb(171, 49, 137);
/* oklch */ color: oklch(52.6% 0.183 341.2);
Tailwind
colors: {
  custom: {
    50: '#c874ab',
    500: '#ab3189',
    950: '#000000',
  },
}
SCSS
$custom: #ab3189;
$custom-light: #c874ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3189",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 316.721,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52629,
    "c": 0.18261,
    "h": 341.2
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#AB3189
secondary
#75C28B
accent
#DF7349
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3189

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

Preview Lab → · Contrast checker → · Palette generator →

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