#AC2399#AC2399

#AC2399 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.209 H 334.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AC2399
RGBrgb(172, 35, 153)
HSLhsl(308, 66%, 41%)
HSVhsv(308, 80%, 67%)
CMYKcmyk(0%, 79.7%, 11%, 32.5%)
CIE-LABlab(41.65, 64.73, -32.56)
CIE-LCHlch(41.65, 72.45, 333.30°)
OKLaboklab(52.48% 0.1888 -0.0892)
OKLCHoklch(52.48% 0.209 334.7)
XYZxyz(23.3644, 12.2748, 31.2696)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2399 #23AC36
analogous
#7A23AC #AC2399 #AC2354
triadic
#AC2399 #99AC23 #2399AC
tetradic
#AC2399 #AC7A23 #23AC36 #2354AC
square
#AC2399 #AC7A23 #23AC36 #2354AC
split-complementary
#AC2399 #54AC23 #23AC7A
monochromatic
#460E3F #79196C #AC2399 #D636C0 #E069D0

Accessibility & contrast

On white

6.08
#AC2399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC2399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2399
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2399#FFFFFF#000000##FFFFFF
##AC23991.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#566996
Tritanopia (blue-blind)
#B5315D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2399;
/* rgb */ color: rgb(172, 35, 153);
/* oklch */ color: oklch(52.5% 0.209 334.7);
Tailwind
colors: {
  custom: {
    50: '#c96fb7',
    500: '#ac2399',
    950: '#000000',
  },
}
SCSS
$custom: #ac2399;
$custom-light: #c96fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2399",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 308.321,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.20877,
    "h": 334.7
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#AC2399
secondary
#64C672
accent
#E9563F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2399

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

Preview Lab → · Contrast checker → · Palette generator →

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