#AB2C99#AB2C99

#AB2C99 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.199 H 334.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB2C99
RGBrgb(171, 44, 153)
HSLhsl(309, 59%, 42%)
HSVhsv(309, 74%, 67%)
CMYKcmyk(0%, 74.3%, 10.5%, 32.9%)
CIE-LABlab(42.40, 61.85, -31.39)
CIE-LCHlch(42.40, 69.35, 333.09°)
OKLaboklab(52.98% 0.1799 -0.0859)
OKLCHoklch(52.98% 0.199 334.5)
XYZxyz(23.4453, 12.7613, 31.3592)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C99 #2CAB3E
analogous
#7E2CAB #AB2C99 #AB2C5A
triadic
#AB2C99 #99AB2C #2C99AB
tetradic
#AB2C99 #AB7E2C #2CAB3E #2C5AAB
square
#AB2C99 #AB7E2C #2CAB3E #2C5AAB
split-complementary
#AB2C99 #5AAB2C #2CAB7E
monochromatic
#4A1342 #7A1F6D #AB2C99 #CF45BC #DC76CD

Accessibility & contrast

On white

5.91
#AB2C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AB2C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C99
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C99#FFFFFF#000000##FFFFFF
##AB2C991.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#586B96
Tritanopia (blue-blind)
#B33760
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2c99;
/* rgb */ color: rgb(171, 44, 153);
/* oklch */ color: oklch(53.0% 0.199 334.5);
Tailwind
colors: {
  custom: {
    50: '#c872b7',
    500: '#ab2c99',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c99;
$custom-light: #c872b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c99",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 308.504,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52984,
    "c": 0.19938,
    "h": 334.5
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#AB2C99
secondary
#6FC37B
accent
#E25C46
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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