#AC229C#AC229C

#AC229C is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.212 H 333.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AC229C
RGBrgb(172, 34, 156)
HSLhsl(307, 67%, 40%)
HSVhsv(307, 80%, 67%)
CMYKcmyk(0%, 80.2%, 9.3%, 32.5%)
CIE-LABlab(41.72, 65.43, -34.26)
CIE-LCHlch(41.72, 73.86, 332.36°)
OKLaboklab(52.58% 0.1897 -0.0941)
OKLCHoklch(52.58% 0.212 333.6)
XYZxyz(23.5862, 12.3171, 32.5813)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC229C #22AC32
analogous
#7722AC #AC229C #AC2257
triadic
#AC229C #9CAC22 #229CAC
tetradic
#AC229C #AC7722 #22AC32 #2257AC
square
#AC229C #AC7722 #22AC32 #2257AC
split-complementary
#AC229C #57AC22 #22AC77
monochromatic
#460E3F #79186E #AC229C #D734C4 #E167D3

Accessibility & contrast

On white

6.06
#AC229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC229C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC229C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC229C#FFFFFF#000000##FFFFFF
##AC229C1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C569F
Deuteranopia (green-blind)
#546999
Tritanopia (blue-blind)
#B4325F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac229c;
/* rgb */ color: rgb(172, 34, 156);
/* oklch */ color: oklch(52.6% 0.212 333.6);
Tailwind
colors: {
  custom: {
    50: '#c96fb9',
    500: '#ac229c',
    950: '#000000',
  },
}
SCSS
$custom: #ac229c;
$custom-light: #c96fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac229c",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 306.957,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.21171,
    "h": 333.6
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#AC229C
secondary
#63C76F
accent
#EA523E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC229C

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

Preview Lab → · Contrast checker → · Palette generator →

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