#AC26A6#AC26A6

#AC26A6 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.215 H 330.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AC26A6
RGBrgb(172, 38, 166)
HSLhsl(303, 64%, 41%)
HSVhsv(303, 78%, 67%)
CMYKcmyk(0%, 77.9%, 3.5%, 32.5%)
CIE-LABlab(42.63, 65.88, -38.81)
CIE-LCHlch(42.63, 76.46, 329.50°)
OKLaboklab(53.4% 0.1867 -0.1073)
OKLCHoklch(53.4% 0.215 330.1)
XYZxyz(24.5892, 12.9120, 37.2662)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26A6 #26AC2C
analogous
#6F26AC #AC26A6 #AC2663
triadic
#AC26A6 #A6AC26 #26A6AC
tetradic
#AC26A6 #AC6F26 #26AC2C #2663AC
square
#AC26A6 #AC6F26 #26AC2C #2663AC
split-complementary
#AC26A6 #63AC26 #26AC6F
monochromatic
#481045 #7A1B76 #AC26A6 #D43BCD #DF6EDA

Accessibility & contrast

On white

5.86
#AC26A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC26A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26A6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26A6#FFFFFF#000000##FFFFFF
##AC26A61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A9
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#B33A65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac26a6;
/* rgb */ color: rgb(172, 38, 166);
/* oklch */ color: oklch(53.4% 0.215 330.1);
Tailwind
colors: {
  custom: {
    50: '#c971c1',
    500: '#ac26a6',
    950: '#000000',
  },
}
SCSS
$custom: #ac26a6;
$custom-light: #c971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26a6",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 302.687,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53403,
    "c": 0.21529,
    "h": 330.1
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#AC26A6
secondary
#68C56D
accent
#E74841
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC26A6

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

Preview Lab → · Contrast checker → · Palette generator →

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