#AB2C54#AB2C54

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

Color values

HEX#AB2C54
RGBrgb(171, 44, 84)
HSLhsl(341, 59%, 42%)
HSVhsv(341, 74%, 67%)
CMYKcmyk(0%, 74.3%, 50.9%, 32.9%)
CIE-LABlab(39.75, 53.56, 7.38)
CIE-LCHlch(39.75, 54.07, 7.84°)
OKLaboklab(50.19% 0.1634 0.0192)
OKLCHoklch(50.19% 0.164 6.7)
XYZxyz(19.2972, 11.1020, 9.5125)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C54 #2CAB83
analogous
#AB2C94 #AB2C54 #AB432C
triadic
#AB2C54 #54AB2C #2C54AB
tetradic
#AB2C54 #94AB2C #2CAB83 #432CAB
square
#AB2C54 #94AB2C #2CAB83 #432CAB
split-complementary
#AB2C54 #2CAB43 #2C94AB
monochromatic
#4A1324 #7A1F3C #AB2C54 #CF4571 #DC7696

Accessibility & contrast

On white

6.52
#AB2C54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB2C54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C54
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C54#FFFFFF#000000##FFFFFF
##AB2C541.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E55
Deuteranopia (green-blind)
#6C6751
Tritanopia (blue-blind)
#BA0F3D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2c54;
/* rgb */ color: rgb(171, 44, 84);
/* oklch */ color: oklch(50.2% 0.164 6.7);
Tailwind
colors: {
  custom: {
    50: '#ca7083',
    500: '#ab2c54',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c54;
$custom-light: #ca7083;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c54",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 84
  },
  "hsl": {
    "h": 341.102,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.16449,
    "h": 6.7
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#AB2C54
secondary
#6FC3A9
accent
#E2B146
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2C54

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

Preview Lab → · Contrast checker → · Palette generator →

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