#AB2A85#AB2A85

#AB2A85 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.188 H 342.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AB2A85
RGBrgb(171, 42, 133)
HSLhsl(318, 61%, 42%)
HSVhsv(318, 75%, 67%)
CMYKcmyk(0%, 75.4%, 22.2%, 32.9%)
CIE-LABlab(41.23, 59.64, -21.04)
CIE-LCHlch(41.23, 63.24, 340.57°)
OKLaboklab(51.83% 0.1794 -0.0564)
OKLCHoklch(51.83% 0.188 342.5)
XYZxyz(21.8570, 12.0096, 23.3528)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A85 #2AAB50
analogous
#902AAB #AB2A85 #AB2A45
triadic
#AB2A85 #85AB2A #2A85AB
tetradic
#AB2A85 #AB902A #2AAB50 #2A45AB
square
#AB2A85 #AB902A #2AAB50 #2A45AB
split-complementary
#AB2A85 #45AB2A #2AAB90
monochromatic
#491239 #7A1E5F #AB2A85 #D142A6 #DD73BD

Accessibility & contrast

On white

6.17
#AB2A85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB2A85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A85
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A85#FFFFFF#000000##FFFFFF
##AB2A851.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375487
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#B62B54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2a85;
/* rgb */ color: rgb(171, 42, 133);
/* oklch */ color: oklch(51.8% 0.188 342.5);
Tailwind
colors: {
  custom: {
    50: '#c871a8',
    500: '#ab2a85',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a85;
$custom-light: #c871a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a85",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 317.674,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.1881,
    "h": 342.5
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#AB2A85
secondary
#6DC487
accent
#E47344
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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