#AB2B57#AB2B57

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

Color values

HEX#AB2B57
RGBrgb(171, 43, 87)
HSLhsl(339, 60%, 42%)
HSVhsv(339, 75%, 67%)
CMYKcmyk(0%, 74.9%, 49.1%, 32.9%)
CIE-LABlab(39.71, 54.17, 5.42)
CIE-LCHlch(39.71, 54.44, 5.71°)
OKLaboklab(50.18% 0.1656 0.0144)
OKLCHoklch(50.18% 0.166 5)
XYZxyz(19.3804, 11.0764, 10.1324)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B57 #2BAB7F
analogous
#AB2B97 #AB2B57 #AB3F2B
triadic
#AB2B57 #57AB2B #2B57AB
tetradic
#AB2B57 #97AB2B #2BAB7F #3F2BAB
square
#AB2B57 #97AB2B #2BAB7F #3F2BAB
split-complementary
#AB2B57 #2BAB3F #2B97AB
monochromatic
#491225 #7A1F3E #AB2B57 #D04374 #DC7498

Accessibility & contrast

On white

6.53
#AB2B57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2B57
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B57#FFFFFF#000000##FFFFFF
##AB2B571.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D58
Deuteranopia (green-blind)
#6C6754
Tritanopia (blue-blind)
#BA0F3E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2b57;
/* rgb */ color: rgb(171, 43, 87);
/* oklch */ color: oklch(50.2% 0.166 5.0);
Tailwind
colors: {
  custom: {
    50: '#ca7086',
    500: '#ab2b57',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b57;
$custom-light: #ca7086;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b57",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 339.375,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50182,
    "c": 0.16622,
    "h": 5
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#AB2B57
secondary
#6EC4A6
accent
#E3AD45
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2B57

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

Preview Lab → · Contrast checker → · Palette generator →

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