#AC22A3#AC22A3

#AC22A3 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.217 H 331.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AC22A3
RGBrgb(172, 34, 163)
HSLhsl(304, 67%, 40%)
HSVhsv(304, 80%, 67%)
CMYKcmyk(0%, 80.2%, 5.2%, 32.5%)
CIE-LABlab(42.09, 66.48, -37.87)
CIE-LCHlch(42.09, 76.51, 330.33°)
OKLaboklab(52.97% 0.1898 -0.1045)
OKLCHoklch(52.97% 0.217 331.2)
XYZxyz(24.1961, 12.5611, 35.7934)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC22A3 #22AC2B
analogous
#7022AC #AC22A3 #AC225E
triadic
#AC22A3 #A3AC22 #22A3AC
tetradic
#AC22A3 #AC7022 #22AC2B #225EAC
square
#AC22A3 #AC7022 #22AC2B #225EAC
split-complementary
#AC22A3 #5EAC22 #22AC70
monochromatic
#460E42 #791873 #AC22A3 #D734CC #E167D9

Accessibility & contrast

On white

5.98
#AC22A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AC22A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC22A3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC22A3#FFFFFF#000000##FFFFFF
##AC22A31.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A6
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#B33663
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac22a3;
/* rgb */ color: rgb(172, 34, 163);
/* oklch */ color: oklch(53.0% 0.217 331.2);
Tailwind
colors: {
  custom: {
    50: '#c96fbf',
    500: '#ac22a3',
    950: '#000000',
  },
}
SCSS
$custom: #ac22a3;
$custom-light: #c96fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac22a3",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 303.913,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.21664,
    "h": 331.2
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#AC22A3
secondary
#63C76A
accent
#EA493E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC22A3

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

Preview Lab → · Contrast checker → · Palette generator →

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