#AB2A55#AB2A55

#AB2A55 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.167 H 5.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AB2A55
RGBrgb(171, 42, 85)
HSLhsl(340, 61%, 42%)
HSVhsv(340, 75%, 67%)
CMYKcmyk(0%, 75.4%, 50.3%, 32.9%)
CIE-LABlab(39.53, 54.33, 6.44)
CIE-LCHlch(39.53, 54.71, 6.76°)
OKLaboklab(50.04% 0.1659 0.0169)
OKLCHoklch(50.04% 0.167 5.8)
XYZxyz(19.2639, 10.9724, 9.6960)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A55 #2AAB80
analogous
#AB2A96 #AB2A55 #AB402A
triadic
#AB2A55 #55AB2A #2A55AB
tetradic
#AB2A55 #96AB2A #2AAB80 #402AAB
square
#AB2A55 #96AB2A #2AAB80 #402AAB
split-complementary
#AB2A55 #2AAB40 #2A96AB
monochromatic
#491224 #7A1E3D #AB2A55 #D14271 #DD7396

Accessibility & contrast

On white

6.57
#AB2A55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB2A55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A55
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A55#FFFFFF#000000##FFFFFF
##AB2A551.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D56
Deuteranopia (green-blind)
#6C6652
Tritanopia (blue-blind)
#BA0A3C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a55;
/* rgb */ color: rgb(171, 42, 85);
/* oklch */ color: oklch(50.0% 0.167 5.8);
Tailwind
colors: {
  custom: {
    50: '#ca6f84',
    500: '#ab2a55',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a55;
$custom-light: #ca6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a55",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 340,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50035,
    "c": 0.1668,
    "h": 5.8
  },
  "luminance": 0.1097
}

Semantic roles & 50–950 ramp

primary
#AB2A55
secondary
#6DC4A7
accent
#E4AE44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2A55

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

Preview Lab → · Contrast checker → · Palette generator →

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