#AB2D52#AB2D52

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

Color values

HEX#AB2D52
RGBrgb(171, 45, 82)
HSLhsl(342, 58%, 42%)
HSVhsv(342, 74%, 67%)
CMYKcmyk(0%, 73.7%, 52%, 32.9%)
CIE-LABlab(39.83, 53.04, 8.75)
CIE-LCHlch(39.83, 53.76, 9.37°)
OKLaboklab(50.23% 0.1615 0.0225)
OKLCHoklch(50.23% 0.163 7.9)
XYZxyz(19.2577, 11.1465, 9.1184)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D52 #2DAB86
analogous
#AB2D91 #AB2D52 #AB472D
triadic
#AB2D52 #52AB2D #2D52AB
tetradic
#AB2D52 #91AB2D #2DAB86 #472DAB
square
#AB2D52 #91AB2D #2DAB86 #472DAB
split-complementary
#AB2D52 #2DAB47 #2D91AB
monochromatic
#4A1424 #7B203B #AB2D52 #CE476F #DB7795

Accessibility & contrast

On white

6.50
#AB2D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2D52
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D52#FFFFFF#000000##FFFFFF
##AB2D521.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2d52;
/* rgb */ color: rgb(171, 45, 82);
/* oklch */ color: oklch(50.2% 0.163 7.9);
Tailwind
colors: {
  custom: {
    50: '#ca7082',
    500: '#ab2d52',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d52;
$custom-light: #ca7082;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d52",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 342.381,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.16305,
    "h": 7.9
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#AB2D52
secondary
#71C3AB
accent
#E2B446
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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