#AB2F56#AB2F56

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

Color values

HEX#AB2F56
RGBrgb(171, 47, 86)
HSLhsl(341, 57%, 43%)
HSVhsv(341, 73%, 67%)
CMYKcmyk(0%, 72.5%, 49.7%, 32.9%)
CIE-LABlab(40.19, 52.66, 6.73)
CIE-LCHlch(40.19, 53.09, 7.29°)
OKLaboklab(50.53% 0.1607 0.0176)
OKLCHoklch(50.53% 0.162 6.3)
XYZxyz(19.4925, 11.3654, 9.9696)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F56 #2FAB84
analogous
#AB2F94 #AB2F56 #AB462F
triadic
#AB2F56 #56AB2F #2F56AB
tetradic
#AB2F56 #94AB2F #2FAB84 #462FAB
square
#AB2F56 #94AB2F #2FAB84 #462FAB
split-complementary
#AB2F56 #2FAB46 #2F94AB
monochromatic
#4B1526 #7B223E #AB2F56 #CD4A73 #DA7A98

Accessibility & contrast

On white

6.42
#AB2F56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB2F56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F56
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F56#FFFFFF#000000##FFFFFF
##AB2F561.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F57
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#BA163F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2f56;
/* rgb */ color: rgb(171, 47, 86);
/* oklch */ color: oklch(50.5% 0.162 6.3);
Tailwind
colors: {
  custom: {
    50: '#ca7185',
    500: '#ab2f56',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f56;
$custom-light: #ca7185;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f56",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 341.129,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50528,
    "c": 0.16164,
    "h": 6.3
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#AB2F56
secondary
#73C3AA
accent
#E0B048
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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