#AB3B8A#AB3B8A

#AB3B8A is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.170 H 341.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AB3B8A
RGBrgb(171, 59, 138)
HSLhsl(318, 49%, 45%)
HSVhsv(318, 65%, 67%)
CMYKcmyk(0%, 65.5%, 19.3%, 32.9%)
CIE-LABlab(43.69, 54.06, -20.31)
CIE-LCHlch(43.69, 57.75, 339.41°)
OKLaboklab(53.69% 0.1613 -0.0545)
OKLCHoklch(53.69% 0.17 341.3)
XYZxyz(22.9466, 13.6230, 25.4608)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3B8A #3BAB5C
analogous
#943BAB #AB3B8A #AB3B52
triadic
#AB3B8A #8AAB3B #3B8AAB
tetradic
#AB3B8A #AB943B #3BAB5C #3B52AB
square
#AB3B8A #AB943B #3BAB5C #3B52AB
split-complementary
#AB3B8A #52AB3B #3BAB94
monochromatic
#501C41 #7D2B65 #AB3B8A #C75CA7 #D78AC0

Accessibility & contrast

On white

5.64
#AB3B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB3B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3B8A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3B8A#FFFFFF#000000##FFFFFF
##AB3B8A1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8C
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#B53D5D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3b8a;
/* rgb */ color: rgb(171, 59, 138);
/* oklch */ color: oklch(53.7% 0.170 341.3);
Tailwind
colors: {
  custom: {
    50: '#c779ac',
    500: '#ab3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab3b8a;
$custom-light: #c779ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3b8a",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 317.679,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53691,
    "c": 0.17022,
    "h": 341.3
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#AB3B8A
secondary
#81C194
accent
#D87850
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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