#AC2198#AC2198

#AC2198 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.210 H 335.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AC2198
RGBrgb(172, 33, 152)
HSLhsl(309, 68%, 40%)
HSVhsv(309, 81%, 67%)
CMYKcmyk(0%, 80.8%, 11.6%, 32.5%)
CIE-LABlab(41.42, 65.10, -32.32)
CIE-LCHlch(41.42, 72.68, 333.60°)
OKLaboklab(52.3% 0.1903 -0.0885)
OKLCHoklch(52.3% 0.21 335.1)
XYZxyz(23.2249, 12.1275, 30.8174)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2198 #21AC35
analogous
#7A21AC #AC2198 #AC2153
triadic
#AC2198 #98AC21 #2198AC
tetradic
#AC2198 #AC7A21 #21AC35 #2153AC
square
#AC2198 #AC7A21 #21AC35 #2153AC
split-complementary
#AC2198 #53AC21 #21AC7A
monochromatic
#450D3D #79176B #AC2198 #D832C0 #E266D0

Accessibility & contrast

On white

6.13
#AC2198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AC2198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2198
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2198#FFFFFF#000000##FFFFFF
##AC21981.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#B52F5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2198;
/* rgb */ color: rgb(172, 33, 152);
/* oklch */ color: oklch(52.3% 0.210 335.1);
Tailwind
colors: {
  custom: {
    50: '#c96eb6',
    500: '#ac2198',
    950: '#000000',
  },
}
SCSS
$custom: #ac2198;
$custom-light: #c96eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2198",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 308.633,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52295,
    "c": 0.20982,
    "h": 335.1
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#AC2198
secondary
#62C770
accent
#EB563D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2198

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

Preview Lab → · Contrast checker → · Palette generator →

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