#AC229A#AC229A

#AC229A is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.210 H 334.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AC229A
RGBrgb(172, 34, 154)
HSLhsl(308, 67%, 40%)
HSVhsv(308, 80%, 67%)
CMYKcmyk(0%, 80.2%, 10.5%, 32.5%)
CIE-LABlab(41.61, 65.13, -33.22)
CIE-LCHlch(41.61, 73.12, 332.98°)
OKLaboklab(52.47% 0.1896 -0.0911)
OKLCHoklch(52.47% 0.21 334.3)
XYZxyz(23.4183, 12.2499, 31.6967)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC229A #22AC34
analogous
#7922AC #AC229A #AC2255
triadic
#AC229A #9AAC22 #229AAC
tetradic
#AC229A #AC7922 #22AC34 #2255AC
square
#AC229A #AC7922 #22AC34 #2255AC
split-complementary
#AC229A #55AC22 #22AC79
monochromatic
#460E3E #79186C #AC229A #D734C2 #E167D1

Accessibility & contrast

On white

6.09
#AC229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC229A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC229A#FFFFFF#000000##FFFFFF
##AC229A1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559D
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#B4315E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac229a;
/* rgb */ color: rgb(172, 34, 154);
/* oklch */ color: oklch(52.5% 0.210 334.3);
Tailwind
colors: {
  custom: {
    50: '#c96fb8',
    500: '#ac229a',
    950: '#000000',
  },
}
SCSS
$custom: #ac229a;
$custom-light: #c96fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac229a",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 307.826,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.21033,
    "h": 334.3
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#AC229A
secondary
#63C770
accent
#EA543E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC229A

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

Preview Lab → · Contrast checker → · Palette generator →

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