#AB2C72#AB2C72

#AB2C72 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.175 H 351.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB2C72
RGBrgb(171, 44, 114)
HSLhsl(327, 59%, 42%)
HSVhsv(327, 74%, 67%)
CMYKcmyk(0%, 74.3%, 33.3%, 32.9%)
CIE-LABlab(40.70, 56.60, -10.11)
CIE-LCHlch(40.70, 57.50, 349.88°)
OKLaboklab(51.19% 0.1732 -0.0262)
OKLCHoklch(51.19% 0.175 351.4)
XYZxyz(20.7337, 11.6766, 17.0783)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C72 #2CAB65
analogous
#A52CAB #AB2C72 #AB2C33
triadic
#AB2C72 #72AB2C #2C72AB
tetradic
#AB2C72 #ABA52C #2CAB65 #2C33AB
square
#AB2C72 #ABA52C #2CAB65 #2C33AB
split-complementary
#AB2C72 #33AB2C #2CABA5
monochromatic
#4A1331 #7A1F52 #AB2C72 #CF4591 #DC76AE

Accessibility & contrast

On white

6.30
#AB2C72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB2C72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C72
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C72#FFFFFF#000000##FFFFFF
##AB2C721.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425174
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#B8224B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2c72;
/* rgb */ color: rgb(171, 44, 114);
/* oklch */ color: oklch(51.2% 0.175 351.4);
Tailwind
colors: {
  custom: {
    50: '#c8719a',
    500: '#ab2c72',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c72;
$custom-light: #c8719a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c72",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 326.929,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.1752,
    "h": 351.4
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#AB2C72
secondary
#6FC395
accent
#E28C46
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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