#AB1C99#AB1C99

#AB1C99 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.214 H 334.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB1C99
RGBrgb(171, 28, 153)
HSLhsl(308, 72%, 39%)
HSVhsv(308, 84%, 67%)
CMYKcmyk(0%, 83.6%, 10.5%, 32.9%)
CIE-LABlab(40.88, 66.22, -33.78)
CIE-LCHlch(40.88, 74.34, 332.97°)
OKLaboklab(51.9% 0.1929 -0.0927)
OKLCHoklch(51.9% 0.214 334.3)
XYZxyz(22.9599, 11.7905, 31.1974)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C99 #1CAB2E
analogous
#761CAB #AB1C99 #AB1C52
triadic
#AB1C99 #99AB1C #1C99AB
tetradic
#AB1C99 #AB761C #1CAB2E #1C52AB
square
#AB1C99 #AB761C #1CAB2E #1C52AB
split-complementary
#AB1C99 #52AB1C #1CAB76
monochromatic
#420B3B #76136A #AB1C99 #DC28C5 #E45DD3

Accessibility & contrast

On white

6.25
#AB1C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB1C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1C99
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C99#FFFFFF#000000##FFFFFF
##AB1C991.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539C
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#B32D5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab1c99;
/* rgb */ color: rgb(171, 28, 153);
/* oklch */ color: oklch(51.9% 0.214 334.3);
Tailwind
colors: {
  custom: {
    50: '#c86db7',
    500: '#ab1c99',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c99;
$custom-light: #c86db7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c99",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 307.552,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.21396,
    "h": 334.3
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#AB1C99
secondary
#5AC968
accent
#EF5039
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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