#AC2397#AC2397

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

Color values

HEX#AC2397
RGBrgb(172, 35, 151)
HSLhsl(309, 66%, 41%)
HSVhsv(309, 80%, 67%)
CMYKcmyk(0%, 79.7%, 12.2%, 32.5%)
CIE-LABlab(41.55, 64.43, -31.51)
CIE-LCHlch(41.55, 71.73, 333.94°)
OKLaboklab(52.37% 0.1887 -0.0861)
OKLCHoklch(52.37% 0.207 335.5)
XYZxyz(23.2006, 12.2092, 30.4069)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2397 #23AC38
analogous
#7C23AC #AC2397 #AC2352
triadic
#AC2397 #97AC23 #2397AC
tetradic
#AC2397 #AC7C23 #23AC38 #2352AC
square
#AC2397 #AC7C23 #23AC38 #2352AC
split-complementary
#AC2397 #52AC23 #23AC7C
monochromatic
#460E3E #79196A #AC2397 #D636BE #E069CE

Accessibility & contrast

On white

6.10
#AC2397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2397
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2397#FFFFFF#000000##FFFFFF
##AC23971.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#576994
Tritanopia (blue-blind)
#B52F5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2397;
/* rgb */ color: rgb(172, 35, 151);
/* oklch */ color: oklch(52.4% 0.207 335.5);
Tailwind
colors: {
  custom: {
    50: '#c96fb6',
    500: '#ac2397',
    950: '#000000',
  },
}
SCSS
$custom: #ac2397;
$custom-light: #c96fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2397",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 309.197,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.2074,
    "h": 335.5
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#AC2397
secondary
#64C673
accent
#E9593F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2397

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

Preview Lab → · Contrast checker → · Palette generator →

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