#AB2A91#AB2A91

#AB2A91 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.196 H 337.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB2A91
RGBrgb(171, 42, 145)
HSLhsl(312, 61%, 42%)
HSVhsv(312, 75%, 67%)
CMYKcmyk(0%, 75.4%, 15.2%, 32.9%)
CIE-LABlab(41.78, 61.31, -27.51)
CIE-LCHlch(41.78, 67.20, 335.83°)
OKLaboklab(52.41% 0.1811 -0.0748)
OKLCHoklch(52.41% 0.196 337.6)
XYZxyz(22.7339, 12.3603, 27.9711)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A91 #2AAB44
analogous
#852AAB #AB2A91 #AB2A51
triadic
#AB2A91 #91AB2A #2A91AB
tetradic
#AB2A91 #AB852A #2AAB44 #2A51AB
square
#AB2A91 #AB852A #2AAB44 #2A51AB
split-complementary
#AB2A91 #51AB2A #2AAB85
monochromatic
#49123E #7A1E67 #AB2A91 #D142B4 #DD73C7

Accessibility & contrast

On white

6.05
#AB2A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB2A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A91
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A91#FFFFFF#000000##FFFFFF
##AB2A911.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2a91;
/* rgb */ color: rgb(171, 42, 145);
/* oklch */ color: oklch(52.4% 0.196 337.6);
Tailwind
colors: {
  custom: {
    50: '#c871b1',
    500: '#ab2a91',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a91;
$custom-light: #c871b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a91",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 312.093,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.19594,
    "h": 337.6
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#AB2A91
secondary
#6DC47E
accent
#E46444
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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