#AB2D91#AB2D91

#AB2D91 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.193 H 337.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AB2D91
RGBrgb(171, 45, 145)
HSLhsl(312, 58%, 42%)
HSVhsv(312, 74%, 67%)
CMYKcmyk(0%, 73.7%, 15.2%, 32.9%)
CIE-LABlab(42.13, 60.33, -26.98)
CIE-LCHlch(42.13, 66.09, 335.91°)
OKLaboklab(52.66% 0.1782 -0.0733)
OKLCHoklch(52.66% 0.193 337.6)
XYZxyz(22.8443, 12.5812, 28.0079)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D91 #2DAB47
analogous
#862DAB #AB2D91 #AB2D52
triadic
#AB2D91 #91AB2D #2D91AB
tetradic
#AB2D91 #AB862D #2DAB47 #2D52AB
square
#AB2D91 #AB862D #2DAB47 #2D52AB
split-complementary
#AB2D91 #52AB2D #2DAB86
monochromatic
#4A143F #7B2068 #AB2D91 #CE47B2 #DB77C7

Accessibility & contrast

On white

5.97
#AB2D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB2D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D91
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D91#FFFFFF#000000##FFFFFF
##AB2D911.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325794
Deuteranopia (green-blind)
#5C6A8E
Tritanopia (blue-blind)
#B4345C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2d91;
/* rgb */ color: rgb(171, 45, 145);
/* oklch */ color: oklch(52.7% 0.193 337.6);
Tailwind
colors: {
  custom: {
    50: '#c872b1',
    500: '#ab2d91',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d91;
$custom-light: #c872b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d91",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 312.381,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52658,
    "c": 0.19267,
    "h": 337.6
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#AB2D91
secondary
#71C382
accent
#E26646
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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