#AB2E91#AB2E91

#AB2E91 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.192 H 337.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB2E91
RGBrgb(171, 46, 145)
HSLhsl(312, 58%, 43%)
HSVhsv(312, 73%, 67%)
CMYKcmyk(0%, 73.1%, 15.2%, 32.9%)
CIE-LABlab(42.24, 60.00, -26.79)
CIE-LCHlch(42.24, 65.71, 335.94°)
OKLaboklab(52.74% 0.1772 -0.0727)
OKLCHoklch(52.74% 0.192 337.7)
XYZxyz(22.8829, 12.6584, 28.0207)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E91 #2EAB48
analogous
#872EAB #AB2E91 #AB2E52
triadic
#AB2E91 #91AB2E #2E91AB
tetradic
#AB2E91 #AB872E #2EAB48 #2E52AB
square
#AB2E91 #AB872E #2EAB48 #2E52AB
split-complementary
#AB2E91 #52AB2E #2EAB87
monochromatic
#4B143F #7B2168 #AB2E91 #CE48B2 #DB79C6

Accessibility & contrast

On white

5.95
#AB2E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB2E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E91
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E91#FFFFFF#000000##FFFFFF
##AB2E911.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335794
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#B4355C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2e91;
/* rgb */ color: rgb(171, 46, 145);
/* oklch */ color: oklch(52.7% 0.192 337.7);
Tailwind
colors: {
  custom: {
    50: '#c873b1',
    500: '#ab2e91',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e91;
$custom-light: #c873b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e91",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 312.48,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.19153,
    "h": 337.7
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#AB2E91
secondary
#72C383
accent
#E16747
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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