#AB2A56#AB2A56

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

Color values

HEX#AB2A56
RGBrgb(171, 42, 86)
HSLhsl(340, 61%, 42%)
HSVhsv(340, 75%, 67%)
CMYKcmyk(0%, 75.4%, 49.7%, 32.9%)
CIE-LABlab(39.56, 54.42, 5.84)
CIE-LCHlch(39.56, 54.73, 6.13°)
OKLaboklab(50.06% 0.1663 0.0154)
OKLCHoklch(50.06% 0.167 5.3)
XYZxyz(19.3039, 10.9884, 9.9068)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A56 #2AAB7F
analogous
#AB2A97 #AB2A56 #AB3F2A
triadic
#AB2A56 #56AB2A #2A56AB
tetradic
#AB2A56 #97AB2A #2AAB7F #3F2AAB
square
#AB2A56 #97AB2A #2AAB7F #3F2AAB
split-complementary
#AB2A56 #2AAB3F #2A97AB
monochromatic
#491225 #7A1E3D #AB2A56 #D14272 #DD7397

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A56#FFFFFF#000000##FFFFFF
##AB2A561.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D57
Deuteranopia (green-blind)
#6B6653
Tritanopia (blue-blind)
#BA0B3D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a56;
/* rgb */ color: rgb(171, 42, 86);
/* oklch */ color: oklch(50.1% 0.167 5.3);
Tailwind
colors: {
  custom: {
    50: '#ca6f85',
    500: '#ab2a56',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a56;
$custom-light: #ca6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a56",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 339.535,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.16703,
    "h": 5.3
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#AB2A56
secondary
#6DC4A6
accent
#E4AD44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2A56

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

Preview Lab → · Contrast checker → · Palette generator →

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