#AB2A62#AB2A62

#AB2A62 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.171 H 359.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB2A62
RGBrgb(171, 42, 98)
HSLhsl(334, 61%, 42%)
HSVhsv(334, 75%, 67%)
CMYKcmyk(0%, 75.4%, 42.7%, 32.9%)
CIE-LABlab(39.91, 55.54, -1.24)
CIE-LCHlch(39.91, 55.55, 358.72°)
OKLaboklab(50.44% 0.1706 -0.0026)
OKLCHoklch(50.44% 0.171 359.1)
XYZxyz(19.8286, 11.1983, 12.6702)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A62 #2AAB73
analogous
#AB2AA3 #AB2A62 #AB322A
triadic
#AB2A62 #62AB2A #2A62AB
tetradic
#AB2A62 #A3AB2A #2AAB73 #322AAB
square
#AB2A62 #A3AB2A #2AAB73 #322AAB
split-complementary
#AB2A62 #2AAB32 #2AA3AB
monochromatic
#49122A #7A1E46 #AB2A62 #D14280 #DD73A1

Accessibility & contrast

On white

6.48
#AB2A62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB2A62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A62
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A62#FFFFFF#000000##FFFFFF
##AB2A621.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E63
Deuteranopia (green-blind)
#69675F
Tritanopia (blue-blind)
#B91542
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2a62;
/* rgb */ color: rgb(171, 42, 98);
/* oklch */ color: oklch(50.4% 0.171 359.1);
Tailwind
colors: {
  custom: {
    50: '#c9708e',
    500: '#ab2a62',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a62;
$custom-light: #c9708e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a62",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 333.953,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50438,
    "c": 0.17057,
    "h": 359.1
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#AB2A62
secondary
#6DC49E
accent
#E49E44
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2A62

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

Preview Lab → · Contrast checker → · Palette generator →

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