#AB2B56#AB2B56

#AB2B56 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.166 H 5.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AB2B56
RGBrgb(171, 43, 86)
HSLhsl(340, 60%, 42%)
HSVhsv(340, 75%, 67%)
CMYKcmyk(0%, 74.9%, 49.7%, 32.9%)
CIE-LABlab(39.68, 54.08, 6.01)
CIE-LCHlch(39.68, 54.41, 6.34°)
OKLaboklab(50.15% 0.1652 0.0158)
OKLCHoklch(50.15% 0.166 5.5)
XYZxyz(19.3398, 11.0602, 9.9187)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B56 #2BAB80
analogous
#AB2B96 #AB2B56 #AB402B
triadic
#AB2B56 #56AB2B #2B56AB
tetradic
#AB2B56 #96AB2B #2BAB80 #402BAB
square
#AB2B56 #96AB2B #2BAB80 #402BAB
split-complementary
#AB2B56 #2BAB40 #2B96AB
monochromatic
#491225 #7A1F3D #AB2B56 #D04373 #DC7497

Accessibility & contrast

On white

6.54
#AB2B56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AB2B56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B56
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B56#FFFFFF#000000##FFFFFF
##AB2B561.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D57
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#BA0E3D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2b56;
/* rgb */ color: rgb(171, 43, 86);
/* oklch */ color: oklch(50.2% 0.166 5.5);
Tailwind
colors: {
  custom: {
    50: '#ca7085',
    500: '#ab2b56',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b56;
$custom-light: #ca7085;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b56",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 339.844,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.16599,
    "h": 5.5
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#AB2B56
secondary
#6EC4A7
accent
#E3AE45
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2B56

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

Preview Lab → · Contrast checker → · Palette generator →

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