#AB3A8A#AB3A8A

#AB3A8A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.172 H 341.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AB3A8A
RGBrgb(171, 58, 138)
HSLhsl(318, 49%, 45%)
HSVhsv(318, 66%, 67%)
CMYKcmyk(0%, 66.1%, 19.3%, 32.9%)
CIE-LABlab(43.54, 54.48, -20.54)
CIE-LCHlch(43.54, 58.22, 339.34°)
OKLaboklab(53.58% 0.1625 -0.0551)
OKLCHoklch(53.58% 0.172 341.3)
XYZxyz(22.8957, 13.5211, 25.4439)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3A8A #3AAB5B
analogous
#933AAB #AB3A8A #AB3A52
triadic
#AB3A8A #8AAB3A #3A8AAB
tetradic
#AB3A8A #AB933A #3AAB5B #3A52AB
square
#AB3A8A #AB933A #3AAB5B #3A52AB
split-complementary
#AB3A8A #52AB3A #3AAB93
monochromatic
#501B40 #7D2A65 #AB3A8A #C75BA8 #D789C0

Accessibility & contrast

On white

5.67
#AB3A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AB3A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3A8A
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3A8A#FFFFFF#000000##FFFFFF
##AB3A8A1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#646E87
Tritanopia (blue-blind)
#B53C5D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3a8a;
/* rgb */ color: rgb(171, 58, 138);
/* oklch */ color: oklch(53.6% 0.172 341.3);
Tailwind
colors: {
  custom: {
    50: '#c778ac',
    500: '#ab3a8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab3a8a;
$custom-light: #c778ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3a8a",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 317.522,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53582,
    "c": 0.1716,
    "h": 341.3
  },
  "luminance": 0.13519
}

Semantic roles & 50–950 ramp

primary
#AB3A8A
secondary
#80C193
accent
#D9774F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB3A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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