#AB2F57#AB2F57

#AB2F57 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.162 H 5.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AB2F57
RGBrgb(171, 47, 87)
HSLhsl(341, 57%, 43%)
HSVhsv(341, 73%, 67%)
CMYKcmyk(0%, 72.5%, 49.1%, 32.9%)
CIE-LABlab(40.22, 52.75, 6.14)
CIE-LCHlch(40.22, 53.11, 6.64°)
OKLaboklab(50.56% 0.1611 0.0162)
OKLCHoklch(50.56% 0.162 5.7)
XYZxyz(19.5330, 11.3817, 10.1833)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F57 #2FAB83
analogous
#AB2F95 #AB2F57 #AB452F
triadic
#AB2F57 #57AB2F #2F57AB
tetradic
#AB2F57 #95AB2F #2FAB83 #452FAB
square
#AB2F57 #95AB2F #2FAB83 #452FAB
split-complementary
#AB2F57 #2FAB45 #2F95AB
monochromatic
#4B1526 #7B223F #AB2F57 #CD4A74 #DA7A99

Accessibility & contrast

On white

6.41
#AB2F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AB2F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F57
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F57#FFFFFF#000000##FFFFFF
##AB2F571.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F58
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#BA1740
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2f57;
/* rgb */ color: rgb(171, 47, 87);
/* oklch */ color: oklch(50.6% 0.162 5.7);
Tailwind
colors: {
  custom: {
    50: '#c97186',
    500: '#ab2f57',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f57;
$custom-light: #c97186;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f57",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 340.645,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.16187,
    "h": 5.7
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#AB2F57
secondary
#73C3A9
accent
#E0AF48
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2F57

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

Preview Lab → · Contrast checker → · Palette generator →

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