#AB2C52#AB2C52

#AB2C52 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.1% C 0.164 H 7.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB2C52
RGBrgb(171, 44, 82)
HSLhsl(342, 59%, 42%)
HSVhsv(342, 74%, 67%)
CMYKcmyk(0%, 74.3%, 52%, 32.9%)
CIE-LABlab(39.70, 53.39, 8.57)
CIE-LCHlch(39.70, 54.08, 9.12°)
OKLaboklab(50.13% 0.1626 0.0221)
OKLCHoklch(50.13% 0.164 7.7)
XYZxyz(19.2200, 11.0711, 9.1059)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C52 #2CAB85
analogous
#AB2C92 #AB2C52 #AB452C
triadic
#AB2C52 #52AB2C #2C52AB
tetradic
#AB2C52 #92AB2C #2CAB85 #452CAB
square
#AB2C52 #92AB2C #2CAB85 #452CAB
split-complementary
#AB2C52 #2CAB45 #2C92AB
monochromatic
#4A1323 #7A1F3B #AB2C52 #CF456E #DC7694

Accessibility & contrast

On white

6.53
#AB2C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AB2C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C52
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C52#FFFFFF#000000##FFFFFF
##AB2C521.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#BB0D3C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2c52;
/* rgb */ color: rgb(171, 44, 82);
/* oklch */ color: oklch(50.1% 0.164 7.7);
Tailwind
colors: {
  custom: {
    50: '#ca7082',
    500: '#ab2c52',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c52;
$custom-light: #ca7082;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c52",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 342.047,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50132,
    "c": 0.16411,
    "h": 7.7
  },
  "luminance": 0.11068
}

Semantic roles & 50–950 ramp

primary
#AB2C52
secondary
#6FC3AA
accent
#E2B346
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2C52

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

Preview Lab → · Contrast checker → · Palette generator →

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