#AB2F51#AB2F51

#AB2F51 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.161 H 8.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AB2F51
RGBrgb(171, 47, 81)
HSLhsl(344, 57%, 43%)
HSVhsv(344, 73%, 67%)
CMYKcmyk(0%, 72.5%, 52.6%, 32.9%)
CIE-LABlab(40.06, 52.23, 9.71)
CIE-LCHlch(40.06, 53.13, 10.53°)
OKLaboklab(50.39% 0.1588 0.0249)
OKLCHoklch(50.39% 0.161 8.9)
XYZxyz(19.2980, 11.2877, 8.9455)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F51 #2FAB89
analogous
#AB2F8F #AB2F51 #AB4B2F
triadic
#AB2F51 #51AB2F #2F51AB
tetradic
#AB2F51 #8FAB2F #2FAB89 #4B2FAB
square
#AB2F51 #8FAB2F #2FAB89 #4B2FAB
split-complementary
#AB2F51 #2FAB4B #2F8FAB
monochromatic
#4B1524 #7B223A #AB2F51 #CD4A6E #DA7A94

Accessibility & contrast

On white

6.45
#AB2F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2F51
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F51#FFFFFF#000000##FFFFFF
##AB2F511.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#6E684E
Tritanopia (blue-blind)
#BB133D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f51;
/* rgb */ color: rgb(171, 47, 81);
/* oklch */ color: oklch(50.4% 0.161 8.9);
Tailwind
colors: {
  custom: {
    50: '#ca7181',
    500: '#ab2f51',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f51;
$custom-light: #ca7181;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f51",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 343.548,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.16071,
    "h": 8.9
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#AB2F51
secondary
#73C3AD
accent
#E0B648
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2F51

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

Preview Lab → · Contrast checker → · Palette generator →

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