#AC299C#AC299C

#AC299C is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.205 H 333.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AC299C
RGBrgb(172, 41, 156)
HSLhsl(307, 62%, 42%)
HSVhsv(307, 76%, 67%)
CMYKcmyk(0%, 76.2%, 9.3%, 32.5%)
CIE-LABlab(42.40, 63.47, -33.19)
CIE-LCHlch(42.40, 71.62, 332.39°)
OKLaboklab(53.06% 0.1839 -0.091)
OKLCHoklch(53.06% 0.205 333.7)
XYZxyz(23.8071, 12.7589, 32.6549)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC299C #29AC39
analogous
#7B29AC #AC299C #AC295B
triadic
#AC299C #9CAC29 #299CAC
tetradic
#AC299C #AC7B29 #29AC39 #295BAC
square
#AC299C #AC7B29 #29AC39 #295BAC
split-complementary
#AC299C #5BAC29 #29AC7B
monochromatic
#491142 #7B1D6F #AC299C #D241C0 #DD72D0

Accessibility & contrast

On white

5.91
#AC299C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC299C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC299C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC299C#FFFFFF#000000##FFFFFF
##AC299C1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#B43661
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac299c;
/* rgb */ color: rgb(172, 41, 156);
/* oklch */ color: oklch(53.1% 0.205 333.7);
Tailwind
colors: {
  custom: {
    50: '#c971b9',
    500: '#ac299c',
    950: '#000000',
  },
}
SCSS
$custom: #ac299c;
$custom-light: #c971b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac299c",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 307.328,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.20519,
    "h": 333.7
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#AC299C
secondary
#6CC577
accent
#E55743
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC299C

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

Preview Lab → · Contrast checker → · Palette generator →

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