#AC26A4#AC26A4

#AC26A4 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.214 H 330.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AC26A4
RGBrgb(172, 38, 164)
HSLhsl(304, 64%, 41%)
HSVhsv(304, 78%, 67%)
CMYKcmyk(0%, 77.9%, 4.7%, 32.5%)
CIE-LABlab(42.52, 65.57, -37.79)
CIE-LCHlch(42.52, 75.68, 330.04°)
OKLaboklab(53.29% 0.1867 -0.1043)
OKLCHoklch(53.29% 0.214 330.8)
XYZxyz(24.4072, 12.8392, 36.3075)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26A4 #26AC2E
analogous
#7126AC #AC26A4 #AC2661
triadic
#AC26A4 #A4AC26 #26A4AC
tetradic
#AC26A4 #AC7126 #26AC2E #2661AC
square
#AC26A4 #AC7126 #26AC2E #2661AC
split-complementary
#AC26A4 #61AC26 #26AC71
monochromatic
#481044 #7A1B74 #AC26A4 #D43BCB #DF6ED8

Accessibility & contrast

On white

5.89
#AC26A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC26A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26A4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26A4#FFFFFF#000000##FFFFFF
##AC26A41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1459A7
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#B33964
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac26a4;
/* rgb */ color: rgb(172, 38, 164);
/* oklch */ color: oklch(53.3% 0.214 330.8);
Tailwind
colors: {
  custom: {
    50: '#c971bf',
    500: '#ac26a4',
    950: '#000000',
  },
}
SCSS
$custom: #ac26a4;
$custom-light: #c971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26a4",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 303.582,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.21384,
    "h": 330.8
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

primary
#AC26A4
secondary
#68C56E
accent
#E74B41
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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