#AB2E82#AB2E82

#AB2E82 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.182 H 344.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB2E82
RGBrgb(171, 46, 130)
HSLhsl(320, 58%, 43%)
HSVhsv(320, 73%, 67%)
CMYKcmyk(0%, 73.1%, 24%, 32.9%)
CIE-LABlab(41.57, 57.91, -18.67)
CIE-LCHlch(41.57, 60.85, 342.13°)
OKLaboklab(52.04% 0.1748 -0.0498)
OKLCHoklch(52.04% 0.182 344.1)
XYZxyz(21.8017, 12.2259, 22.3264)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E82 #2EAB57
analogous
#962EAB #AB2E82 #AB2E43
triadic
#AB2E82 #82AB2E #2E82AB
tetradic
#AB2E82 #AB962E #2EAB57 #2E43AB
square
#AB2E82 #AB962E #2EAB57 #2E43AB
split-complementary
#AB2E82 #43AB2E #2EAB96
monochromatic
#4B1439 #7B215D #AB2E82 #CE48A2 #DB79BB

Accessibility & contrast

On white

6.10
#AB2E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB2E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E82
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E82#FFFFFF#000000##FFFFFF
##AB2E821.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5584
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#B62D54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2e82;
/* rgb */ color: rgb(171, 46, 130);
/* oklch */ color: oklch(52.0% 0.182 344.1);
Tailwind
colors: {
  custom: {
    50: '#c872a6',
    500: '#ab2e82',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e82;
$custom-light: #c872a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e82",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 319.68,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.18176,
    "h": 344.1
  },
  "luminance": 0.12224
}

Semantic roles & 50–950 ramp

primary
#AB2E82
secondary
#72C38C
accent
#E17947
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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