#AC299F#AC299F

#AC299F is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.207 H 332.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AC299F
RGBrgb(172, 41, 159)
HSLhsl(306, 62%, 42%)
HSVhsv(306, 76%, 67%)
CMYKcmyk(0%, 76.2%, 7.6%, 32.5%)
CIE-LABlab(42.55, 63.92, -34.74)
CIE-LCHlch(42.55, 72.75, 331.48°)
OKLaboklab(53.23% 0.184 -0.0955)
OKLCHoklch(53.23% 0.207 332.6)
XYZxyz(24.0643, 12.8618, 34.0093)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC299F #29AC36
analogous
#7829AC #AC299F #AC295E
triadic
#AC299F #9FAC29 #299FAC
tetradic
#AC299F #AC7829 #29AC36 #295EAC
square
#AC299F #AC7829 #29AC36 #295EAC
split-complementary
#AC299F #5EAC29 #29AC78
monochromatic
#491144 #7B1D71 #AC299F #D241C3 #DD72D3

Accessibility & contrast

On white

5.88
#AC299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC299F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC299F#FFFFFF#000000##FFFFFF
##AC299F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A2
Deuteranopia (green-blind)
#556B9C
Tritanopia (blue-blind)
#B43862
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac299f;
/* rgb */ color: rgb(172, 41, 159);
/* oklch */ color: oklch(53.2% 0.207 332.6);
Tailwind
colors: {
  custom: {
    50: '#c971bc',
    500: '#ac299f',
    950: '#000000',
  },
}
SCSS
$custom: #ac299f;
$custom-light: #c971bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac299f",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 305.954,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.20735,
    "h": 332.6
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#AC299F
secondary
#6CC575
accent
#E55343
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC299F

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

Preview Lab → · Contrast checker → · Palette generator →

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