#AC26A3#AC26A3

#AC26A3 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.213 H 331.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC26A3
RGBrgb(172, 38, 163)
HSLhsl(304, 64%, 41%)
HSVhsv(304, 78%, 67%)
CMYKcmyk(0%, 77.9%, 5.2%, 32.5%)
CIE-LABlab(42.47, 65.41, -37.28)
CIE-LCHlch(42.47, 75.29, 330.32°)
OKLaboklab(53.23% 0.1867 -0.1028)
OKLCHoklch(53.23% 0.213 331.2)
XYZxyz(24.3172, 12.8032, 35.8338)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26A3 #26AC2F
analogous
#7226AC #AC26A3 #AC2660
triadic
#AC26A3 #A3AC26 #26A3AC
tetradic
#AC26A3 #AC7226 #26AC2F #2660AC
square
#AC26A3 #AC7226 #26AC2F #2660AC
split-complementary
#AC26A3 #60AC26 #26AC72
monochromatic
#481044 #7A1B73 #AC26A3 #D43BCA #DF6ED7

Accessibility & contrast

On white

5.90
#AC26A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC26A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26A3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26A3#FFFFFF#000000##FFFFFF
##AC26A31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A6
Deuteranopia (green-blind)
#526BA0
Tritanopia (blue-blind)
#B33864
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac26a3;
/* rgb */ color: rgb(172, 38, 163);
/* oklch */ color: oklch(53.2% 0.213 331.2);
Tailwind
colors: {
  custom: {
    50: '#c971bf',
    500: '#ac26a3',
    950: '#000000',
  },
}
SCSS
$custom: #ac26a3;
$custom-light: #c971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26a3",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 304.03,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.21311,
    "h": 331.2
  },
  "luminance": 0.12801
}

Semantic roles & 50–950 ramp

primary
#AC26A3
secondary
#68C56F
accent
#E74C41
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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