#AB2C91#AB2C91

#AB2C91 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.194 H 337.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AB2C91
RGBrgb(171, 44, 145)
HSLhsl(312, 59%, 42%)
HSVhsv(312, 74%, 67%)
CMYKcmyk(0%, 74.3%, 15.2%, 32.9%)
CIE-LABlab(42.01, 60.66, -27.16)
CIE-LCHlch(42.01, 66.47, 335.88°)
OKLaboklab(52.57% 0.1792 -0.0738)
OKLCHoklch(52.57% 0.194 337.6)
XYZxyz(22.8066, 12.5058, 27.9953)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C91 #2CAB46
analogous
#852CAB #AB2C91 #AB2C52
triadic
#AB2C91 #91AB2C #2C91AB
tetradic
#AB2C91 #AB852C #2CAB46 #2C52AB
square
#AB2C91 #AB852C #2CAB46 #2C52AB
split-complementary
#AB2C91 #52AB2C #2CAB85
monochromatic
#4A133E #7A1F68 #AB2C91 #CF45B3 #DC76C7

Accessibility & contrast

On white

6.00
#AB2C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AB2C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C91
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C91#FFFFFF#000000##FFFFFF
##AB2C911.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2c91;
/* rgb */ color: rgb(171, 44, 145);
/* oklch */ color: oklch(52.6% 0.194 337.6);
Tailwind
colors: {
  custom: {
    50: '#c872b1',
    500: '#ab2c91',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c91;
$custom-light: #c872b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c91",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 312.283,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.19378,
    "h": 337.6
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#AB2C91
secondary
#6FC381
accent
#E26646
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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