#AB2A82#AB2A82

#AB2A82 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.186 H 343.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB2A82
RGBrgb(171, 42, 130)
HSLhsl(319, 61%, 42%)
HSVhsv(319, 75%, 67%)
CMYKcmyk(0%, 75.4%, 24%, 32.9%)
CIE-LABlab(41.10, 59.24, -19.40)
CIE-LCHlch(41.10, 62.34, 341.87°)
OKLaboklab(51.7% 0.1789 -0.0518)
OKLCHoklch(51.7% 0.186 343.8)
XYZxyz(21.6527, 11.9279, 22.2768)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A82 #2AAB53
analogous
#942AAB #AB2A82 #AB2A42
triadic
#AB2A82 #82AB2A #2A82AB
tetradic
#AB2A82 #AB942A #2AAB53 #2A42AB
square
#AB2A82 #AB942A #2AAB53 #2A42AB
split-complementary
#AB2A82 #42AB2A #2AAB94
monochromatic
#491237 #7A1E5D #AB2A82 #D142A3 #DD73BB

Accessibility & contrast

On white

6.20
#AB2A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB2A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A82
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A82#FFFFFF#000000##FFFFFF
##AB2A821.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#B62953
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2a82;
/* rgb */ color: rgb(171, 42, 130);
/* oklch */ color: oklch(51.7% 0.186 343.8);
Tailwind
colors: {
  custom: {
    50: '#c871a6',
    500: '#ab2a82',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a82;
$custom-light: #c871a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a82",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 319.07,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51695,
    "c": 0.18626,
    "h": 343.8
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

primary
#AB2A82
secondary
#6DC489
accent
#E47744
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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