#AC229F#AC229F

#AC229F is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.214 H 332.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AC229F
RGBrgb(172, 34, 159)
HSLhsl(306, 67%, 40%)
HSVhsv(306, 80%, 67%)
CMYKcmyk(0%, 80.2%, 7.6%, 32.5%)
CIE-LABlab(41.88, 65.88, -35.81)
CIE-LCHlch(41.88, 74.98, 331.47°)
OKLaboklab(52.74% 0.1897 -0.0985)
OKLCHoklch(52.74% 0.214 332.6)
XYZxyz(23.8434, 12.4200, 33.9357)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC229F #22AC2F
analogous
#7422AC #AC229F #AC225A
triadic
#AC229F #9FAC22 #229FAC
tetradic
#AC229F #AC7422 #22AC2F #225AAC
square
#AC229F #AC7422 #22AC2F #225AAC
split-complementary
#AC229F #5AAC22 #22AC74
monochromatic
#460E41 #791870 #AC229F #D734C8 #E167D6

Accessibility & contrast

On white

6.03
#AC229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AC229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC229F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC229F#FFFFFF#000000##FFFFFF
##AC229F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A2
Deuteranopia (green-blind)
#536A9C
Tritanopia (blue-blind)
#B43361
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac229f;
/* rgb */ color: rgb(172, 34, 159);
/* oklch */ color: oklch(52.7% 0.214 332.6);
Tailwind
colors: {
  custom: {
    50: '#c96fbc',
    500: '#ac229f',
    950: '#000000',
  },
}
SCSS
$custom: #ac229f;
$custom-light: #c96fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac229f",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 305.652,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.21381,
    "h": 332.6
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#AC229F
secondary
#63C76D
accent
#EA4E3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC229F

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

Preview Lab → · Contrast checker → · Palette generator →

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