#AB2C82#AB2C82

#AB2C82 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.184 H 344.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AB2C82
RGBrgb(171, 44, 130)
HSLhsl(319, 59%, 42%)
HSVhsv(319, 74%, 67%)
CMYKcmyk(0%, 74.3%, 24%, 32.9%)
CIE-LABlab(41.33, 58.59, -19.04)
CIE-LCHlch(41.33, 61.61, 341.99°)
OKLaboklab(51.86% 0.1769 -0.0508)
OKLCHoklch(51.86% 0.184 344)
XYZxyz(21.7254, 12.0733, 22.3010)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C82 #2CAB55
analogous
#952CAB #AB2C82 #AB2C43
triadic
#AB2C82 #82AB2C #2C82AB
tetradic
#AB2C82 #AB952C #2CAB55 #2C43AB
square
#AB2C82 #AB952C #2CAB55 #2C43AB
split-complementary
#AB2C82 #43AB2C #2CAB95
monochromatic
#4A1338 #7A1F5D #AB2C82 #CF45A3 #DC76BB

Accessibility & contrast

On white

6.15
#AB2C82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AB2C82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C82
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C82#FFFFFF#000000##FFFFFF
##AB2C821.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#B62B53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2c82;
/* rgb */ color: rgb(171, 44, 130);
/* oklch */ color: oklch(51.9% 0.184 344.0);
Tailwind
colors: {
  custom: {
    50: '#c871a6',
    500: '#ab2c82',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c82;
$custom-light: #c871a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c82",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 319.37,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.18405,
    "h": 344
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#AB2C82
secondary
#6FC38B
accent
#E27846
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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