#AB2D72#AB2D72

#AB2D72 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.174 H 351.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB2D72
RGBrgb(171, 45, 114)
HSLhsl(327, 58%, 42%)
HSVhsv(327, 74%, 67%)
CMYKcmyk(0%, 73.7%, 33.3%, 32.9%)
CIE-LABlab(40.82, 56.26, -9.92)
CIE-LCHlch(40.82, 57.13, 350.00°)
OKLaboklab(51.28% 0.1722 -0.0257)
OKLCHoklch(51.28% 0.174 351.5)
XYZxyz(20.7714, 11.7520, 17.0908)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D72 #2DAB66
analogous
#A52DAB #AB2D72 #AB2D33
triadic
#AB2D72 #72AB2D #2D72AB
tetradic
#AB2D72 #ABA52D #2DAB66 #2D33AB
square
#AB2D72 #ABA52D #2DAB66 #2D33AB
split-complementary
#AB2D72 #33AB2D #2DABA5
monochromatic
#4A1431 #7B2052 #AB2D72 #CE4791 #DB77AE

Accessibility & contrast

On white

6.27
#AB2D72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB2D72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D72
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D72#FFFFFF#000000##FFFFFF
##AB2D721.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2d72;
/* rgb */ color: rgb(171, 45, 114);
/* oklch */ color: oklch(51.3% 0.174 351.5);
Tailwind
colors: {
  custom: {
    50: '#c8719a',
    500: '#ab2d72',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d72;
$custom-light: #c8719a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d72",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 327.143,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.17405,
    "h": 351.5
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#AB2D72
secondary
#71C396
accent
#E28D46
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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