#AB3882#AB3882

#AB3882 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.169 H 344.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AB3882
RGBrgb(171, 56, 130)
HSLhsl(321, 51%, 45%)
HSVhsv(321, 67%, 67%)
CMYKcmyk(0%, 67.3%, 24%, 32.9%)
CIE-LABlab(42.91, 54.16, -16.62)
CIE-LCHlch(42.91, 56.65, 342.94°)
OKLaboklab(53.02% 0.1633 -0.0442)
OKLCHoklch(53.02% 0.169 344.9)
XYZxyz(22.2388, 13.1002, 22.4722)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3882 #38AB61
analogous
#9B38AB #AB3882 #AB3849
triadic
#AB3882 #82AB38 #3882AB
tetradic
#AB3882 #AB9B38 #38AB61 #3849AB
square
#AB3882 #AB9B38 #38AB61 #3849AB
split-complementary
#AB3882 #49AB38 #38AB9B
monochromatic
#4F1A3C #7D295F #AB3882 #C858A0 #D786BA

Accessibility & contrast

On white

5.80
#AB3882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3882
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3882#FFFFFF#000000##FFFFFF
##AB38821.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445984
Deuteranopia (green-blind)
#666C7F
Tritanopia (blue-blind)
#B63758
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3882;
/* rgb */ color: rgb(171, 56, 130);
/* oklch */ color: oklch(53.0% 0.169 344.9);
Tailwind
colors: {
  custom: {
    50: '#c877a6',
    500: '#ab3882',
    950: '#000000',
  },
}
SCSS
$custom: #ab3882;
$custom-light: #c877a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3882",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 321.391,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.16916,
    "h": 344.9
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#AB3882
secondary
#7DC196
accent
#DA804E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3882

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

Preview Lab → · Contrast checker → · Palette generator →

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