#AC26A2#AC26A2

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

Color values

HEX#AC26A2
RGBrgb(172, 38, 162)
HSLhsl(304, 64%, 41%)
HSVhsv(304, 78%, 67%)
CMYKcmyk(0%, 77.9%, 5.8%, 32.5%)
CIE-LABlab(42.41, 65.26, -36.77)
CIE-LCHlch(42.41, 74.90, 330.60°)
OKLaboklab(53.18% 0.1867 -0.1013)
OKLCHoklch(53.18% 0.212 331.5)
XYZxyz(24.2280, 12.7675, 35.3638)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC26A2 #26AC30
analogous
#7326AC #AC26A2 #AC265F
triadic
#AC26A2 #A2AC26 #26A2AC
tetradic
#AC26A2 #AC7326 #26AC30 #265FAC
square
#AC26A2 #AC7326 #26AC30 #265FAC
split-complementary
#AC26A2 #5FAC26 #26AC73
monochromatic
#481044 #7A1B73 #AC26A2 #D43BC8 #DF6ED6

Accessibility & contrast

On white

5.91
#AC26A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC26A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC26A2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC26A2#FFFFFF#000000##FFFFFF
##AC26A21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#B33863
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac26a2;
/* rgb */ color: rgb(172, 38, 162);
/* oklch */ color: oklch(53.2% 0.212 331.5);
Tailwind
colors: {
  custom: {
    50: '#c970be',
    500: '#ac26a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac26a2;
$custom-light: #c970be;
$custom-dark: #000000;
JSON
{
  "hex": "#ac26a2",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 304.478,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.2124,
    "h": 331.5
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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