#AB2E71#AB2E71

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

Color values

HEX#AB2E71
RGBrgb(171, 46, 113)
HSLhsl(328, 58%, 43%)
HSVhsv(328, 73%, 67%)
CMYKcmyk(0%, 73.1%, 33.9%, 32.9%)
CIE-LABlab(40.91, 55.79, -9.17)
CIE-LCHlch(40.91, 56.54, 350.67°)
OKLaboklab(51.33% 0.1708 -0.0236)
OKLCHoklch(51.33% 0.172 352.1)
XYZxyz(20.7534, 11.8066, 16.8056)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E71 #2EAB68
analogous
#A72EAB #AB2E71 #AB2E32
triadic
#AB2E71 #71AB2E #2E71AB
tetradic
#AB2E71 #ABA72E #2EAB68 #2E32AB
square
#AB2E71 #ABA72E #2EAB68 #2E32AB
split-complementary
#AB2E71 #32AB2E #2EABA7
monochromatic
#4B1431 #7B2151 #AB2E71 #CE4890 #DB79AD

Accessibility & contrast

On white

6.25
#AB2E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB2E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E71
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E71#FFFFFF#000000##FFFFFF
##AB2E711.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#67696E
Tritanopia (blue-blind)
#B8244B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2e71;
/* rgb */ color: rgb(171, 46, 113);
/* oklch */ color: oklch(51.3% 0.172 352.1);
Tailwind
colors: {
  custom: {
    50: '#c87299',
    500: '#ab2e71',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e71;
$custom-light: #c87299;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e71",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 327.84,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51333,
    "c": 0.17241,
    "h": 352.1
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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