#AB2D51#AB2D51

#AB2D51 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.163 H 8.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB2D51
RGBrgb(171, 45, 81)
HSLhsl(343, 58%, 42%)
HSVhsv(343, 74%, 67%)
CMYKcmyk(0%, 73.7%, 52.6%, 32.9%)
CIE-LABlab(39.80, 52.96, 9.35)
CIE-LCHlch(39.80, 53.77, 10.01°)
OKLaboklab(50.2% 0.1611 0.024)
OKLCHoklch(50.2% 0.163 8.5)
XYZxyz(19.2199, 11.1314, 8.9195)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D51 #2DAB87
analogous
#AB2D90 #AB2D51 #AB482D
triadic
#AB2D51 #51AB2D #2D51AB
tetradic
#AB2D51 #90AB2D #2DAB87 #482DAB
square
#AB2D51 #90AB2D #2DAB87 #482DAB
split-complementary
#AB2D51 #2DAB48 #2D90AB
monochromatic
#4A1423 #7B203A #AB2D51 #CE476E #DB7794

Accessibility & contrast

On white

6.51
#AB2D51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB2D51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D51
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D51#FFFFFF#000000##FFFFFF
##AB2D511.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E52
Deuteranopia (green-blind)
#6D674E
Tritanopia (blue-blind)
#BB0F3C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2d51;
/* rgb */ color: rgb(171, 45, 81);
/* oklch */ color: oklch(50.2% 0.163 8.5);
Tailwind
colors: {
  custom: {
    50: '#ca7081',
    500: '#ab2d51',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d51;
$custom-light: #ca7081;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d51",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 81
  },
  "hsl": {
    "h": 342.857,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50199,
    "c": 0.16287,
    "h": 8.5
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#AB2D51
secondary
#71C3AC
accent
#E2B546
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2D51

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

Preview Lab → · Contrast checker → · Palette generator →

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