#AB2D73#AB2D73

#AB2D73 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.175 H 351.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB2D73
RGBrgb(171, 45, 115)
HSLhsl(327, 58%, 42%)
HSVhsv(327, 74%, 67%)
CMYKcmyk(0%, 73.7%, 32.7%, 32.9%)
CIE-LABlab(40.86, 56.38, -10.49)
CIE-LCHlch(40.86, 57.34, 349.46°)
OKLaboklab(51.32% 0.1724 -0.0272)
OKLCHoklch(51.32% 0.175 351)
XYZxyz(20.8286, 11.7749, 17.3922)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D73 #2DAB65
analogous
#A42DAB #AB2D73 #AB2D34
triadic
#AB2D73 #73AB2D #2D73AB
tetradic
#AB2D73 #ABA42D #2DAB65 #2D34AB
square
#AB2D73 #ABA42D #2DAB65 #2D34AB
split-complementary
#AB2D73 #34AB2D #2DABA4
monochromatic
#4A1432 #7B2052 #AB2D73 #CE4792 #DB77AF

Accessibility & contrast

On white

6.26
#AB2D73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2D73
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D73#FFFFFF#000000##FFFFFF
##AB2D731.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425275
Deuteranopia (green-blind)
#666870
Tritanopia (blue-blind)
#B8244C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2d73;
/* rgb */ color: rgb(171, 45, 115);
/* oklch */ color: oklch(51.3% 0.175 351.0);
Tailwind
colors: {
  custom: {
    50: '#c8719b',
    500: '#ab2d73',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d73;
$custom-light: #c8719b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d73",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 326.667,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5132,
    "c": 0.17456,
    "h": 351
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#AB2D73
secondary
#71C395
accent
#E28B46
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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