#AB2F72#AB2F72

#AB2F72 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.172 H 351.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB2F72
RGBrgb(171, 47, 114)
HSLhsl(328, 57%, 43%)
HSVhsv(328, 73%, 67%)
CMYKcmyk(0%, 72.5%, 33.3%, 32.9%)
CIE-LABlab(41.07, 55.56, -9.54)
CIE-LCHlch(41.07, 56.37, 350.25°)
OKLaboklab(51.47% 0.1699 -0.0247)
OKLCHoklch(51.47% 0.172 351.7)
XYZxyz(20.8495, 11.9083, 17.1169)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F72 #2FAB68
analogous
#A62FAB #AB2F72 #AB2F34
triadic
#AB2F72 #72AB2F #2F72AB
tetradic
#AB2F72 #ABA62F #2FAB68 #2F34AB
square
#AB2F72 #ABA62F #2FAB68 #2F34AB
split-complementary
#AB2F72 #34AB2F #2FABA6
monochromatic
#4B1532 #7B2252 #AB2F72 #CD4A91 #DA7AAE

Accessibility & contrast

On white

6.21
#AB2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AB2F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F72
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F72#FFFFFF#000000##FFFFFF
##AB2F721.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2f72;
/* rgb */ color: rgb(171, 47, 114);
/* oklch */ color: oklch(51.5% 0.172 351.7);
Tailwind
colors: {
  custom: {
    50: '#c8729a',
    500: '#ab2f72',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f72;
$custom-light: #c8729a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f72",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 327.581,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51465,
    "c": 0.17172,
    "h": 351.7
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#AB2F72
secondary
#73C398
accent
#E08E48
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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