#AB2A58#AB2A58

#AB2A58 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.168 H 4.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB2A58
RGBrgb(171, 42, 88)
HSLhsl(339, 61%, 42%)
HSVhsv(339, 75%, 67%)
CMYKcmyk(0%, 75.4%, 48.5%, 32.9%)
CIE-LABlab(39.62, 54.59, 4.65)
CIE-LCHlch(39.62, 54.79, 4.87°)
OKLaboklab(50.12% 0.1671 0.0124)
OKLCHoklch(50.12% 0.168 4.3)
XYZxyz(19.3856, 11.0211, 10.3371)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A58 #2AAB7D
analogous
#AB2A99 #AB2A58 #AB3D2A
triadic
#AB2A58 #58AB2A #2A58AB
tetradic
#AB2A58 #99AB2A #2AAB7D #3D2AAB
square
#AB2A58 #99AB2A #2AAB7D #3D2AAB
split-complementary
#AB2A58 #2AAB3D #2A99AB
monochromatic
#491225 #7A1E3F #AB2A58 #D14275 #DD7399

Accessibility & contrast

On white

6.56
#AB2A58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB2A58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A58
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A58#FFFFFF#000000##FFFFFF
##AB2A581.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D59
Deuteranopia (green-blind)
#6B6755
Tritanopia (blue-blind)
#BA0D3E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a58;
/* rgb */ color: rgb(171, 42, 88);
/* oklch */ color: oklch(50.1% 0.168 4.3);
Tailwind
colors: {
  custom: {
    50: '#ca6f86',
    500: '#ab2a58',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a58;
$custom-light: #ca6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a58",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 338.605,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50123,
    "c": 0.16752,
    "h": 4.3
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#AB2A58
secondary
#6DC4A5
accent
#E4AB44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2A58

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

Preview Lab → · Contrast checker → · Palette generator →

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