#AB2E57#AB2E57

#AB2E57 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.163 H 5.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB2E57
RGBrgb(171, 46, 87)
HSLhsl(340, 58%, 43%)
HSVhsv(340, 73%, 67%)
CMYKcmyk(0%, 73.1%, 49.1%, 32.9%)
CIE-LABlab(40.09, 53.12, 5.96)
CIE-LCHlch(40.09, 53.45, 6.40°)
OKLaboklab(50.46% 0.1622 0.0157)
OKLCHoklch(50.46% 0.163 5.5)
XYZxyz(19.4935, 11.3026, 10.1701)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E57 #2EAB82
analogous
#AB2E96 #AB2E57 #AB432E
triadic
#AB2E57 #57AB2E #2E57AB
tetradic
#AB2E57 #96AB2E #2EAB82 #432EAB
square
#AB2E57 #96AB2E #2EAB82 #432EAB
split-complementary
#AB2E57 #2EAB43 #2E96AB
monochromatic
#4B1426 #7B213E #AB2E57 #CE4874 #DB7999

Accessibility & contrast

On white

6.44
#AB2E57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AB2E57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E57
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E57#FFFFFF#000000##FFFFFF
##AB2E571.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2e57;
/* rgb */ color: rgb(171, 46, 87);
/* oklch */ color: oklch(50.5% 0.163 5.5);
Tailwind
colors: {
  custom: {
    50: '#ca7186',
    500: '#ab2e57',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e57;
$custom-light: #ca7186;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e57",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 340.32,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.16298,
    "h": 5.5
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

primary
#AB2E57
secondary
#72C3A8
accent
#E1AE47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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