#AB2A54#AB2A54

#AB2A54 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.167 H 6.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AB2A54
RGBrgb(171, 42, 84)
HSLhsl(340, 61%, 42%)
HSVhsv(340, 75%, 67%)
CMYKcmyk(0%, 75.4%, 50.9%, 32.9%)
CIE-LABlab(39.51, 54.24, 7.03)
CIE-LCHlch(39.51, 54.70, 7.39°)
OKLaboklab(50.01% 0.1656 0.0183)
OKLCHoklch(50.01% 0.167 6.3)
XYZxyz(19.2245, 10.9566, 9.4883)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A54 #2AAB81
analogous
#AB2A95 #AB2A54 #AB412A
triadic
#AB2A54 #54AB2A #2A54AB
tetradic
#AB2A54 #95AB2A #2AAB81 #412AAB
square
#AB2A54 #95AB2A #2AAB81 #412AAB
split-complementary
#AB2A54 #2AAB41 #2A95AB
monochromatic
#491224 #7A1E3C #AB2A54 #D14270 #DD7395

Accessibility & contrast

On white

6.58
#AB2A54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB2A54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A54
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A54#FFFFFF#000000##FFFFFF
##AB2A541.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D55
Deuteranopia (green-blind)
#6C6651
Tritanopia (blue-blind)
#BA093C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a54;
/* rgb */ color: rgb(171, 42, 84);
/* oklch */ color: oklch(50.0% 0.167 6.3);
Tailwind
colors: {
  custom: {
    50: '#ca6f83',
    500: '#ab2a54',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a54;
$custom-light: #ca6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a54",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 340.465,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.16658,
    "h": 6.3
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#AB2A54
secondary
#6DC4A8
accent
#E4B044
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2A54

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

Preview Lab → · Contrast checker → · Palette generator →

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