#AB2C71#AB2C71

#AB2C71 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.175 H 351.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AB2C71
RGBrgb(171, 44, 113)
HSLhsl(327, 59%, 42%)
HSVhsv(327, 74%, 67%)
CMYKcmyk(0%, 74.3%, 33.9%, 32.9%)
CIE-LABlab(40.66, 56.49, -9.54)
CIE-LCHlch(40.66, 57.29, 350.42°)
OKLaboklab(51.15% 0.173 -0.0246)
OKLCHoklch(51.15% 0.175 351.9)
XYZxyz(20.6771, 11.6540, 16.7801)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C71 #2CAB66
analogous
#A62CAB #AB2C71 #AB2C31
triadic
#AB2C71 #71AB2C #2C71AB
tetradic
#AB2C71 #ABA62C #2CAB66 #2C31AB
square
#AB2C71 #ABA62C #2CAB66 #2C31AB
split-complementary
#AB2C71 #31AB2C #2CABA6
monochromatic
#4A1331 #7A1F51 #AB2C71 #CF4590 #DC76AD

Accessibility & contrast

On white

6.31
#AB2C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB2C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C71
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C71#FFFFFF#000000##FFFFFF
##AB2C711.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425173
Deuteranopia (green-blind)
#66686E
Tritanopia (blue-blind)
#B8224B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2c71;
/* rgb */ color: rgb(171, 44, 113);
/* oklch */ color: oklch(51.2% 0.175 351.9);
Tailwind
colors: {
  custom: {
    50: '#c87199',
    500: '#ab2c71',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c71;
$custom-light: #c87199;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c71",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 327.402,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.1747,
    "h": 351.9
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#AB2C71
secondary
#6FC396
accent
#E28D46
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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