#AB2E5A#AB2E5A

#AB2E5A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 3.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AB2E5A
RGBrgb(171, 46, 90)
HSLhsl(339, 58%, 43%)
HSVhsv(339, 73%, 67%)
CMYKcmyk(0%, 73.1%, 47.4%, 32.9%)
CIE-LABlab(40.17, 53.39, 4.18)
CIE-LCHlch(40.17, 53.55, 4.48°)
OKLaboklab(50.55% 0.1633 0.0113)
OKLCHoklch(50.55% 0.164 3.9)
XYZxyz(19.6186, 11.3527, 10.8291)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E5A #2EAB7F
analogous
#AB2E99 #AB2E5A #AB402E
triadic
#AB2E5A #5AAB2E #2E5AAB
tetradic
#AB2E5A #99AB2E #2EAB7F #402EAB
square
#AB2E5A #99AB2E #2EAB7F #402EAB
split-complementary
#AB2E5A #2EAB40 #2E99AB
monochromatic
#4B1427 #7B2141 #AB2E5A #CE4877 #DB799B

Accessibility & contrast

On white

6.42
#AB2E5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB2E5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E5A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E5A#FFFFFF#000000##FFFFFF
##AB2E5A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F5B
Deuteranopia (green-blind)
#6C6857
Tritanopia (blue-blind)
#BA1740
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2e5a;
/* rgb */ color: rgb(171, 46, 90);
/* oklch */ color: oklch(50.5% 0.164 3.9);
Tailwind
colors: {
  custom: {
    50: '#c97188',
    500: '#ab2e5a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e5a;
$custom-light: #c97188;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e5a",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 338.88,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.16372,
    "h": 3.9
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#AB2E5A
secondary
#72C3A6
accent
#E1AB47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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