#AB1C91#AB1C91

#AB1C91 is a mid, highly saturated pink. Relative luminance 0.115; OKLCH L 51.5% C 0.209 H 337.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AB1C91
RGBrgb(171, 28, 145)
HSLhsl(311, 72%, 39%)
HSVhsv(311, 84%, 67%)
CMYKcmyk(0%, 83.6%, 15.2%, 32.9%)
CIE-LABlab(40.47, 65.09, -29.57)
CIE-LCHlch(40.47, 71.49, 335.57°)
OKLaboklab(51.47% 0.1925 -0.0806)
OKLCHoklch(51.47% 0.209 337.3)
XYZxyz(22.3212, 11.5350, 27.8335)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C91 #1CAB36
analogous
#7E1CAB #AB1C91 #AB1C4A
triadic
#AB1C91 #91AB1C #1C91AB
tetradic
#AB1C91 #AB7E1C #1CAB36 #1C4AAB
square
#AB1C91 #AB7E1C #1CAB36 #1C4AAB
split-complementary
#AB1C91 #4AAB1C #1CAB7E
monochromatic
#420B38 #761364 #AB1C91 #DC28BB #E45DCC

Accessibility & contrast

On white

6.35
#AB1C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB1C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1C91
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C91#FFFFFF#000000##FFFFFF
##AB1C911.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#57678E
Tritanopia (blue-blind)
#B52757
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab1c91;
/* rgb */ color: rgb(171, 28, 145);
/* oklch */ color: oklch(51.5% 0.209 337.3);
Tailwind
colors: {
  custom: {
    50: '#c86cb1',
    500: '#ab1c91',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c91;
$custom-light: #c86cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c91",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 310.909,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51465,
    "c": 0.20864,
    "h": 337.3
  },
  "luminance": 0.11533
}

Semantic roles & 50–950 ramp

primary
#AB1C91
secondary
#5AC96E
accent
#EF5A39
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140811
muted
#827B80

Preview Lab

Preview with #AB1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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