#AC299A#AC299A

#AC299A is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.204 H 334.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AC299A
RGBrgb(172, 41, 154)
HSLhsl(308, 62%, 42%)
HSVhsv(308, 76%, 67%)
CMYKcmyk(0%, 76.2%, 10.5%, 32.5%)
CIE-LABlab(42.30, 63.17, -32.14)
CIE-LCHlch(42.30, 70.87, 333.03°)
OKLaboklab(52.96% 0.1838 -0.088)
OKLCHoklch(52.96% 0.204 334.4)
XYZxyz(23.6392, 12.6917, 31.7703)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC299A #29AC3B
analogous
#7D29AC #AC299A #AC2959
triadic
#AC299A #9AAC29 #299AAC
tetradic
#AC299A #AC7D29 #29AC3B #2959AC
square
#AC299A #AC7D29 #29AC3B #2959AC
split-complementary
#AC299A #59AC29 #29AC7D
monochromatic
#491142 #7B1D6E #AC299A #D241BE #DD72CF

Accessibility & contrast

On white

5.94
#AC299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC299A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC299A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC299A#FFFFFF#000000##FFFFFF
##AC299A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#B4355F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac299a;
/* rgb */ color: rgb(172, 41, 154);
/* oklch */ color: oklch(53.0% 0.204 334.4);
Tailwind
colors: {
  custom: {
    50: '#c971b8',
    500: '#ac299a',
    950: '#000000',
  },
}
SCSS
$custom: #ac299a;
$custom-light: #c971b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac299a",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 308.244,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52957,
    "c": 0.20377,
    "h": 334.4
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#AC299A
secondary
#6CC578
accent
#E55943
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC299A

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

Preview Lab → · Contrast checker → · Palette generator →

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