#AC22AF#AC22AF

#AC22AF is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.225 H 327.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AC22AF
RGBrgb(172, 34, 175)
HSLhsl(299, 67%, 41%)
HSVhsv(299, 81%, 69%)
CMYKcmyk(1.7%, 80.6%, 0%, 31.4%)
CIE-LABlab(42.78, 68.37, -43.93)
CIE-LCHlch(42.78, 81.26, 327.28°)
OKLaboklab(53.68% 0.1894 -0.1221)
OKLCHoklch(53.68% 0.225 327.2)
XYZxyz(25.3228, 13.0117, 41.7269)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC22AF #25AF22
analogous
#6522AF #AC22AF #AF226B
triadic
#AC22AF #AFAC22 #22AFAC
tetradic
#AC22AF #AF6522 #25AF22 #226BAF
square
#AC22AF #AF6522 #25AF22 #226BAF
split-complementary
#AC22AF #6BAF22 #22AF65
monochromatic
#470E49 #7A187C #AC22AF #D536D8 #DF69E2

Accessibility & contrast

On white

5.83
#AC22AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AC22AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC22AF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC22AF#FFFFFF#000000##FFFFFF
##AC22AF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#B13C6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac22af;
/* rgb */ color: rgb(172, 34, 175);
/* oklch */ color: oklch(53.7% 0.225 327.2);
Tailwind
colors: {
  custom: {
    50: '#c970c7',
    500: '#ac22af',
    950: '#000000',
  },
}
SCSS
$custom: #ac22af;
$custom-light: #c970c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac22af",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 298.723,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.22534,
    "h": 327.2
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#AC22AF
secondary
#67C865
accent
#EA3D41
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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