#AC2296#AC2296

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

Color values

HEX#AC2296
RGBrgb(172, 34, 150)
HSLhsl(310, 67%, 40%)
HSVhsv(310, 80%, 67%)
CMYKcmyk(0%, 80.2%, 12.8%, 32.5%)
CIE-LABlab(41.40, 64.55, -31.13)
CIE-LCHlch(41.40, 71.67, 334.26°)
OKLaboklab(52.25% 0.1894 -0.085)
OKLCHoklch(52.25% 0.208 335.8)
XYZxyz(23.0907, 12.1189, 29.9713)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2296 #22AC38
analogous
#7D22AC #AC2296 #AC2251
triadic
#AC2296 #96AC22 #2296AC
tetradic
#AC2296 #AC7D22 #22AC38 #2251AC
square
#AC2296 #AC7D22 #22AC38 #2251AC
split-complementary
#AC2296 #51AC22 #22AC7D
monochromatic
#460E3D #791869 #AC2296 #D734BD #E167CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2296#FFFFFF#000000##FFFFFF
##AC22961.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2296;
/* rgb */ color: rgb(172, 34, 150);
/* oklch */ color: oklch(52.3% 0.208 335.8);
Tailwind
colors: {
  custom: {
    50: '#c96fb5',
    500: '#ac2296',
    950: '#000000',
  },
}
SCSS
$custom: #ac2296;
$custom-light: #c96fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2296",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 309.565,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.2076,
    "h": 335.8
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#AC2296
secondary
#63C773
accent
#EA593E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2296

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

Preview Lab → · Contrast checker → · Palette generator →

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