#AB2E73#AB2E73

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

Color values

HEX#AB2E73
RGBrgb(171, 46, 115)
HSLhsl(327, 58%, 43%)
HSVhsv(327, 73%, 67%)
CMYKcmyk(0%, 73.1%, 32.7%, 32.9%)
CIE-LABlab(40.98, 56.03, -10.30)
CIE-LCHlch(40.98, 56.97, 349.58°)
OKLaboklab(51.41% 0.1713 -0.0267)
OKLCHoklch(51.41% 0.173 351.1)
XYZxyz(20.8673, 11.8521, 17.4051)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E73 #2EAB66
analogous
#A52EAB #AB2E73 #AB2E34
triadic
#AB2E73 #73AB2E #2E73AB
tetradic
#AB2E73 #ABA52E #2EAB66 #2E34AB
square
#AB2E73 #ABA52E #2EAB66 #2E34AB
split-complementary
#AB2E73 #34AB2E #2EABA5
monochromatic
#4B1432 #7B2153 #AB2E73 #CE4892 #DB79AF

Accessibility & contrast

On white

6.23
#AB2E73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2E73
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E73#FFFFFF#000000##FFFFFF
##AB2E731.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435275
Deuteranopia (green-blind)
#666970
Tritanopia (blue-blind)
#B8254C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2e73;
/* rgb */ color: rgb(171, 46, 115);
/* oklch */ color: oklch(51.4% 0.173 351.1);
Tailwind
colors: {
  custom: {
    50: '#c8729b',
    500: '#ab2e73',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e73;
$custom-light: #c8729b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e73",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 326.88,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.17339,
    "h": 351.1
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#AB2E73
secondary
#72C396
accent
#E18C47
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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