#AB2E72#AB2E72

#AB2E72 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.173 H 351.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB2E72
RGBrgb(171, 46, 114)
HSLhsl(327, 58%, 43%)
HSVhsv(327, 73%, 67%)
CMYKcmyk(0%, 73.1%, 33.3%, 32.9%)
CIE-LABlab(40.94, 55.91, -9.73)
CIE-LCHlch(40.94, 56.75, 350.12°)
OKLaboklab(51.37% 0.1711 -0.0252)
OKLCHoklch(51.37% 0.173 351.6)
XYZxyz(20.8100, 11.8292, 17.1037)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E72 #2EAB67
analogous
#A62EAB #AB2E72 #AB2E33
triadic
#AB2E72 #72AB2E #2E72AB
tetradic
#AB2E72 #ABA62E #2EAB67 #2E33AB
square
#AB2E72 #ABA62E #2EAB67 #2E33AB
split-complementary
#AB2E72 #33AB2E #2EABA6
monochromatic
#4B1432 #7B2152 #AB2E72 #CE4891 #DB79AE

Accessibility & contrast

On white

6.24
#AB2E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E72
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E72#FFFFFF#000000##FFFFFF
##AB2E721.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435274
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#B8254C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2e72;
/* rgb */ color: rgb(171, 46, 114);
/* oklch */ color: oklch(51.4% 0.173 351.6);
Tailwind
colors: {
  custom: {
    50: '#c8729a',
    500: '#ab2e72',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e72;
$custom-light: #c8729a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e72",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 327.36,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.17289,
    "h": 351.6
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

primary
#AB2E72
secondary
#72C397
accent
#E18D47
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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