#AB2D56#AB2D56

#AB2D56 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.3% C 0.164 H 5.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB2D56
RGBrgb(171, 45, 86)
HSLhsl(340, 58%, 42%)
HSVhsv(340, 74%, 67%)
CMYKcmyk(0%, 73.7%, 49.7%, 32.9%)
CIE-LABlab(39.93, 53.38, 6.37)
CIE-LCHlch(39.93, 53.76, 6.80°)
OKLaboklab(50.34% 0.163 0.0167)
OKLCHoklch(50.34% 0.164 5.9)
XYZxyz(19.4143, 11.2092, 9.9436)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D56 #2DAB82
analogous
#AB2D95 #AB2D56 #AB432D
triadic
#AB2D56 #56AB2D #2D56AB
tetradic
#AB2D56 #95AB2D #2DAB82 #432DAB
square
#AB2D56 #95AB2D #2DAB82 #432DAB
split-complementary
#AB2D56 #2DAB43 #2D95AB
monochromatic
#4A1425 #7B203E #AB2D56 #CE4773 #DB7798

Accessibility & contrast

On white

6.48
#AB2D56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB2D56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D56
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D56#FFFFFF#000000##FFFFFF
##AB2D561.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E57
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#BA123E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2d56;
/* rgb */ color: rgb(171, 45, 86);
/* oklch */ color: oklch(50.3% 0.164 5.9);
Tailwind
colors: {
  custom: {
    50: '#ca7185',
    500: '#ab2d56',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d56;
$custom-light: #ca7185;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d56",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 340.476,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.16384,
    "h": 5.9
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#AB2D56
secondary
#71C3A8
accent
#E2AF46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2D56

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

Preview Lab → · Contrast checker → · Palette generator →

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