#AB2A5A#AB2A5A

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

Color values

HEX#AB2A5A
RGBrgb(171, 42, 90)
HSLhsl(338, 61%, 42%)
HSVhsv(338, 75%, 67%)
CMYKcmyk(0%, 75.4%, 47.4%, 32.9%)
CIE-LABlab(39.67, 54.78, 3.47)
CIE-LCHlch(39.67, 54.89, 3.62°)
OKLaboklab(50.18% 0.1678 0.0095)
OKLCHoklch(50.18% 0.168 3.2)
XYZxyz(19.4696, 11.0546, 10.7794)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A5A #2AAB7B
analogous
#AB2A9B #AB2A5A #AB3A2A
triadic
#AB2A5A #5AAB2A #2A5AAB
tetradic
#AB2A5A #9BAB2A #2AAB7B #3A2AAB
square
#AB2A5A #9BAB2A #2AAB7B #3A2AAB
split-complementary
#AB2A5A #2AAB3A #2A9BAB
monochromatic
#491226 #7A1E40 #AB2A5A #D14277 #DD739A

Accessibility & contrast

On white

6.54
#AB2A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2A5A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A5A#FFFFFF#000000##FFFFFF
##AB2A5A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#6B6757
Tritanopia (blue-blind)
#BA0F3F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a5a;
/* rgb */ color: rgb(171, 42, 90);
/* oklch */ color: oklch(50.2% 0.168 3.2);
Tailwind
colors: {
  custom: {
    50: '#ca6f88',
    500: '#ab2a5a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a5a;
$custom-light: #ca6f88;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a5a",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 337.674,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50183,
    "c": 0.16805,
    "h": 3.2
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#AB2A5A
secondary
#6DC4A4
accent
#E4A844
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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