#AB29AC#AB29AC

#AB29AC is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.216 H 327.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB29AC
RGBrgb(171, 41, 172)
HSLhsl(300, 62%, 42%)
HSVhsv(300, 76%, 67%)
CMYKcmyk(0.6%, 76.2%, 0%, 32.5%)
CIE-LABlab(43.10, 65.77, -41.65)
CIE-LCHlch(43.10, 77.84, 327.65°)
OKLaboklab(53.81% 0.1831 -0.1155)
OKLCHoklch(53.81% 0.216 327.7)
XYZxyz(25.0336, 13.2242, 40.2557)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29AC #2AAC29
analogous
#6A29AC #AB29AC #AC296C
triadic
#AB29AC #ACAB29 #29ACAB
tetradic
#AB29AC #AC6A29 #2AAC29 #296CAC
square
#AB29AC #AC6A29 #2AAC29 #296CAC
split-complementary
#AB29AC #6CAC29 #29AC6A
monochromatic
#491149 #7A1D7B #AB29AC #D141D2 #DD72DD

Accessibility & contrast

On white

5.76
#AB29AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AB29AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29AC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29AC#FFFFFF#000000##FFFFFF
##AB29AC1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035BAF
Deuteranopia (green-blind)
#4D6CA9
Tritanopia (blue-blind)
#B03F69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab29ac;
/* rgb */ color: rgb(171, 41, 172);
/* oklch */ color: oklch(53.8% 0.216 327.7);
Tailwind
colors: {
  custom: {
    50: '#c872c5',
    500: '#ab29ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab29ac;
$custom-light: #c872c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29ac",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 299.542,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.21649,
    "h": 327.7
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#AB29AC
secondary
#6DC56C
accent
#E54344
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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