#AB2D57#AB2D57

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

Color values

HEX#AB2D57
RGBrgb(171, 45, 87)
HSLhsl(340, 58%, 42%)
HSVhsv(340, 74%, 67%)
CMYKcmyk(0%, 73.7%, 49.1%, 32.9%)
CIE-LABlab(39.96, 53.47, 5.77)
CIE-LCHlch(39.96, 53.78, 6.16°)
OKLaboklab(50.37% 0.1634 0.0152)
OKLCHoklch(50.37% 0.164 5.3)
XYZxyz(19.4549, 11.2254, 10.1572)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D57 #2DAB81
analogous
#AB2D96 #AB2D57 #AB422D
triadic
#AB2D57 #57AB2D #2D57AB
tetradic
#AB2D57 #96AB2D #2DAB81 #422DAB
square
#AB2D57 #96AB2D #2DAB81 #422DAB
split-complementary
#AB2D57 #2DAB42 #2D96AB
monochromatic
#4A1426 #7B203E #AB2D57 #CE4774 #DB7799

Accessibility & contrast

On white

6.47
#AB2D57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2D57
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D57#FFFFFF#000000##FFFFFF
##AB2D571.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2d57;
/* rgb */ color: rgb(171, 45, 87);
/* oklch */ color: oklch(50.4% 0.164 5.3);
Tailwind
colors: {
  custom: {
    50: '#ca7186',
    500: '#ab2d57',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d57;
$custom-light: #ca7186;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d57",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 340,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.16408,
    "h": 5.3
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2D57

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

Preview Lab → · Contrast checker → · Palette generator →

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