#AC2196#AC2196

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

Color values

HEX#AC2196
RGBrgb(172, 33, 150)
HSLhsl(309, 68%, 40%)
HSVhsv(309, 81%, 67%)
CMYKcmyk(0%, 80.8%, 12.8%, 32.5%)
CIE-LABlab(41.32, 64.81, -31.27)
CIE-LCHlch(41.32, 71.96, 334.25°)
OKLaboklab(52.19% 0.1902 -0.0854)
OKLCHoklch(52.19% 0.208 335.8)
XYZxyz(23.0625, 12.0625, 29.9619)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2196 #21AC37
analogous
#7C21AC #AC2196 #AC2151
triadic
#AC2196 #96AC21 #2196AC
tetradic
#AC2196 #AC7C21 #21AC37 #2151AC
square
#AC2196 #AC7C21 #21AC37 #2151AC
split-complementary
#AC2196 #51AC21 #21AC7C
monochromatic
#450D3C #791769 #AC2196 #D832BE #E266CE

Accessibility & contrast

On white

6.15
#AC2196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AC2196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2196
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2196#FFFFFF#000000##FFFFFF
##AC21961.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225499
Deuteranopia (green-blind)
#576993
Tritanopia (blue-blind)
#B52E5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2196;
/* rgb */ color: rgb(172, 33, 150);
/* oklch */ color: oklch(52.2% 0.208 335.8);
Tailwind
colors: {
  custom: {
    50: '#c96eb5',
    500: '#ac2196',
    950: '#000000',
  },
}
SCSS
$custom: #ac2196;
$custom-light: #c96eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2196",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 309.496,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.20846,
    "h": 335.8
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#AC2196
secondary
#62C772
accent
#EB593D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2196

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

Preview Lab → · Contrast checker → · Palette generator →

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