#AB2A52#AB2A52

#AB2A52 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.166 H 7.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AB2A52
RGBrgb(171, 42, 82)
HSLhsl(341, 61%, 42%)
HSVhsv(341, 75%, 67%)
CMYKcmyk(0%, 75.4%, 52%, 32.9%)
CIE-LABlab(39.45, 54.08, 8.23)
CIE-LCHlch(39.45, 54.70, 8.65°)
OKLaboklab(49.95% 0.1648 0.0213)
OKLCHoklch(49.95% 0.166 7.4)
XYZxyz(19.1473, 10.9257, 9.0816)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A52 #2AAB83
analogous
#AB2A93 #AB2A52 #AB422A
triadic
#AB2A52 #52AB2A #2A52AB
tetradic
#AB2A52 #93AB2A #2AAB83 #422AAB
square
#AB2A52 #93AB2A #2AAB83 #422AAB
split-complementary
#AB2A52 #2AAB42 #2A93AB
monochromatic
#491223 #7A1E3A #AB2A52 #D1426E #DD7394

Accessibility & contrast

On white

6.59
#AB2A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AB2A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A52
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A52#FFFFFF#000000##FFFFFF
##AB2A521.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C53
Deuteranopia (green-blind)
#6C664F
Tritanopia (blue-blind)
#BB073B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a52;
/* rgb */ color: rgb(171, 42, 82);
/* oklch */ color: oklch(50.0% 0.166 7.4);
Tailwind
colors: {
  custom: {
    50: '#ca6f82',
    500: '#ab2a52',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a52;
$custom-light: #ca6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a52",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 341.395,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.16618,
    "h": 7.4
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

primary
#AB2A52
secondary
#6DC4A9
accent
#E4B244
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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