#AC2396#AC2396

#AC2396 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.207 H 335.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC2396
RGBrgb(172, 35, 150)
HSLhsl(310, 66%, 41%)
HSVhsv(310, 80%, 67%)
CMYKcmyk(0%, 79.7%, 12.8%, 32.5%)
CIE-LABlab(41.50, 64.29, -30.98)
CIE-LCHlch(41.50, 71.37, 334.27°)
OKLaboklab(52.32% 0.1886 -0.0846)
OKLCHoklch(52.32% 0.207 335.8)
XYZxyz(23.1197, 12.1769, 29.9810)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2396 #23AC39
analogous
#7D23AC #AC2396 #AC2351
triadic
#AC2396 #96AC23 #2396AC
tetradic
#AC2396 #AC7D23 #23AC39 #2351AC
square
#AC2396 #AC7D23 #23AC39 #2351AC
split-complementary
#AC2396 #51AC23 #23AC7D
monochromatic
#460E3D #79196A #AC2396 #D636BC #E069CD

Accessibility & contrast

On white

6.11
#AC2396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC2396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2396
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2396#FFFFFF#000000##FFFFFF
##AC23961.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#586993
Tritanopia (blue-blind)
#B52F5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2396;
/* rgb */ color: rgb(172, 35, 150);
/* oklch */ color: oklch(52.3% 0.207 335.8);
Tailwind
colors: {
  custom: {
    50: '#c96fb5',
    500: '#ac2396',
    950: '#000000',
  },
}
SCSS
$custom: #ac2396;
$custom-light: #c96fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2396",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 309.635,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.20672,
    "h": 335.8
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#AC2396
secondary
#64C674
accent
#E95A3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2396

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

Preview Lab → · Contrast checker → · Palette generator →

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