#AC26A9#AC26A9

#AC26A9 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.217 H 329.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AC26A9
RGBrgb(172, 38, 169)
HSLhsl(301, 64%, 41%)
HSVhsv(301, 78%, 67%)
CMYKcmyk(0%, 77.9%, 1.7%, 32.5%)
CIE-LABlab(42.80, 66.35, -40.33)
CIE-LCHlch(42.80, 77.65, 328.71°)
OKLaboklab(53.58% 0.1866 -0.1117)
OKLCHoklch(53.58% 0.218 329.1)
XYZxyz(24.8676, 13.0234, 38.7324)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26A9 #26AC29
analogous
#6C26AC #AC26A9 #AC2666
triadic
#AC26A9 #A9AC26 #26A9AC
tetradic
#AC26A9 #AC6C26 #26AC29 #2666AC
square
#AC26A9 #AC6C26 #26AC29 #2666AC
split-complementary
#AC26A9 #66AC26 #26AC6C
monochromatic
#481046 #7A1B78 #AC26A9 #D43BD0 #DF6EDC

Accessibility & contrast

On white

5.83
#AC26A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC26A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26A9
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26A9#FFFFFF#000000##FFFFFF
##AC26A91.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065AAC
Deuteranopia (green-blind)
#4F6BA6
Tritanopia (blue-blind)
#B23B67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac26a9;
/* rgb */ color: rgb(172, 38, 169);
/* oklch */ color: oklch(53.6% 0.217 329.1);
Tailwind
colors: {
  custom: {
    50: '#c971c3',
    500: '#ac26a9',
    950: '#000000',
  },
}
SCSS
$custom: #ac26a9;
$custom-light: #c971c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26a9",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 301.343,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.2175,
    "h": 329.1
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#AC26A9
secondary
#68C56A
accent
#E74541
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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