#AC2197#AC2197

#AC2197 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.209 H 335.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AC2197
RGBrgb(172, 33, 151)
HSLhsl(309, 68%, 40%)
HSVhsv(309, 81%, 67%)
CMYKcmyk(0%, 80.8%, 12.2%, 32.5%)
CIE-LABlab(41.37, 64.95, -31.79)
CIE-LCHlch(41.37, 72.32, 333.92°)
OKLaboklab(52.24% 0.1902 -0.0869)
OKLCHoklch(52.24% 0.209 335.4)
XYZxyz(23.1434, 12.0949, 30.3878)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2197 #21AC36
analogous
#7C21AC #AC2197 #AC2151
triadic
#AC2197 #97AC21 #2197AC
tetradic
#AC2197 #AC7C21 #21AC36 #2151AC
square
#AC2197 #AC7C21 #21AC36 #2151AC
split-complementary
#AC2197 #51AC21 #21AC7C
monochromatic
#450D3D #79176A #AC2197 #D832BF #E266CF

Accessibility & contrast

On white

6.14
#AC2197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AC2197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2197
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2197#FFFFFF#000000##FFFFFF
##AC21971.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559A
Deuteranopia (green-blind)
#566994
Tritanopia (blue-blind)
#B52E5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2197;
/* rgb */ color: rgb(172, 33, 151);
/* oklch */ color: oklch(52.2% 0.209 335.4);
Tailwind
colors: {
  custom: {
    50: '#c96eb6',
    500: '#ac2197',
    950: '#000000',
  },
}
SCSS
$custom: #ac2197;
$custom-light: #c96eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2197",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 309.065,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.20913,
    "h": 335.4
  },
  "luminance": 0.12093
}

Semantic roles & 50–950 ramp

primary
#AC2197
secondary
#62C771
accent
#EB573D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2197

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

Preview Lab → · Contrast checker → · Palette generator →

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