#AB2491#AB2491

#AB2491 is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.0% C 0.202 H 337.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB2491
RGBrgb(171, 36, 145)
HSLhsl(312, 65%, 41%)
HSVhsv(312, 79%, 67%)
CMYKcmyk(0%, 78.9%, 15.2%, 32.9%)
CIE-LABlab(41.16, 63.08, -28.48)
CIE-LCHlch(41.16, 69.22, 335.70°)
OKLaboklab(51.96% 0.1864 -0.0775)
OKLCHoklch(51.96% 0.202 337.4)
XYZxyz(22.5368, 11.9662, 27.9054)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2491 #24AB3E
analogous
#8224AB #AB2491 #AB244D
triadic
#AB2491 #91AB24 #2491AB
tetradic
#AB2491 #AB8224 #24AB3E #244DAB
square
#AB2491 #AB8224 #24AB3E #244DAB
split-complementary
#AB2491 #4DAB24 #24AB82
monochromatic
#460F3B #781966 #AB2491 #D537B7 #E06AC9

Accessibility & contrast

On white

6.19
#AB2491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB2491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2491
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2491#FFFFFF#000000##FFFFFF
##AB24911.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#59688E
Tritanopia (blue-blind)
#B52D59
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2491;
/* rgb */ color: rgb(171, 36, 145);
/* oklch */ color: oklch(52.0% 0.202 337.4);
Tailwind
colors: {
  custom: {
    50: '#c86fb1',
    500: '#ab2491',
    950: '#000000',
  },
}
SCSS
$custom: #ab2491;
$custom-light: #c86fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2491",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 311.556,
    "s": 65.217,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.20191,
    "h": 337.4
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#AB2491
secondary
#65C678
accent
#E86040
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2491

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

Preview Lab → · Contrast checker → · Palette generator →

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