#AB2A92#AB2A92

#AB2A92 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.197 H 337.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AB2A92
RGBrgb(171, 42, 146)
HSLhsl(312, 61%, 42%)
HSVhsv(312, 75%, 67%)
CMYKcmyk(0%, 75.4%, 14.6%, 32.9%)
CIE-LABlab(41.83, 61.45, -28.04)
CIE-LCHlch(41.83, 67.55, 335.47°)
OKLaboklab(52.46% 0.1812 -0.0763)
OKLCHoklch(52.46% 0.197 337.2)
XYZxyz(22.8113, 12.3913, 28.3789)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A92 #2AAB43
analogous
#842AAB #AB2A92 #AB2A52
triadic
#AB2A92 #92AB2A #2A92AB
tetradic
#AB2A92 #AB842A #2AAB43 #2A52AB
square
#AB2A92 #AB842A #2AAB43 #2A52AB
split-complementary
#AB2A92 #52AB2A #2AAB84
monochromatic
#49123E #7A1E68 #AB2A92 #D142B5 #DD73C8

Accessibility & contrast

On white

6.04
#AB2A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB2A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A92
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A92#FFFFFF#000000##FFFFFF
##AB2A921.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#5B6A8F
Tritanopia (blue-blind)
#B4325B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2a92;
/* rgb */ color: rgb(171, 42, 146);
/* oklch */ color: oklch(52.5% 0.197 337.2);
Tailwind
colors: {
  custom: {
    50: '#c871b2',
    500: '#ab2a92',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a92;
$custom-light: #c871b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a92",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 311.628,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.19661,
    "h": 337.2
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#AB2A92
secondary
#6DC47E
accent
#E46344
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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