#AB2C84#AB2C84

#AB2C84 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.185 H 343.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB2C84
RGBrgb(171, 44, 132)
HSLhsl(318, 59%, 42%)
HSVhsv(318, 74%, 67%)
CMYKcmyk(0%, 74.3%, 22.8%, 32.9%)
CIE-LABlab(41.42, 58.86, -20.14)
CIE-LCHlch(41.42, 62.21, 341.11°)
OKLaboklab(51.95% 0.1773 -0.0539)
OKLCHoklch(51.95% 0.185 343.1)
XYZxyz(21.8609, 12.1275, 23.0149)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C84 #2CAB53
analogous
#932CAB #AB2C84 #AB2C45
triadic
#AB2C84 #84AB2C #2C84AB
tetradic
#AB2C84 #AB932C #2CAB53 #2C45AB
square
#AB2C84 #AB932C #2CAB53 #2C45AB
split-complementary
#AB2C84 #45AB2C #2CAB93
monochromatic
#4A1339 #7A1F5E #AB2C84 #CF45A5 #DC76BC

Accessibility & contrast

On white

6.13
#AB2C84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB2C84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C84
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C84#FFFFFF#000000##FFFFFF
##AB2C841.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#616981
Tritanopia (blue-blind)
#B62C54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2c84;
/* rgb */ color: rgb(171, 44, 132);
/* oklch */ color: oklch(52.0% 0.185 343.1);
Tailwind
colors: {
  custom: {
    50: '#c872a8',
    500: '#ab2c84',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c84;
$custom-light: #c872a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c84",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 318.425,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.18528,
    "h": 343.1
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#AB2C84
secondary
#6FC389
accent
#E27646
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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