#AC2297#AC2297

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

Color values

HEX#AC2297
RGBrgb(172, 34, 151)
HSLhsl(309, 67%, 40%)
HSVhsv(309, 80%, 67%)
CMYKcmyk(0%, 80.2%, 12.2%, 32.5%)
CIE-LABlab(41.46, 64.70, -31.65)
CIE-LCHlch(41.46, 72.03, 333.93°)
OKLaboklab(52.31% 0.1894 -0.0866)
OKLCHoklch(52.31% 0.208 335.4)
XYZxyz(23.1716, 12.1512, 30.3972)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2297 #22AC37
analogous
#7C22AC #AC2297 #AC2252
triadic
#AC2297 #97AC22 #2297AC
tetradic
#AC2297 #AC7C22 #22AC37 #2252AC
square
#AC2297 #AC7C22 #22AC37 #2252AC
split-complementary
#AC2297 #52AC22 #22AC7C
monochromatic
#460E3D #79186A #AC2297 #D734BE #E167CF

Accessibility & contrast

On white

6.12
#AC2297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2297
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2297#FFFFFF#000000##FFFFFF
##AC22971.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2297;
/* rgb */ color: rgb(172, 34, 151);
/* oklch */ color: oklch(52.3% 0.208 335.4);
Tailwind
colors: {
  custom: {
    50: '#c96fb6',
    500: '#ac2297',
    950: '#000000',
  },
}
SCSS
$custom: #ac2297;
$custom-light: #c96fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2297",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 309.13,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.20828,
    "h": 335.4
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#AC2297
secondary
#63C772
accent
#EA583E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2297

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

Preview Lab → · Contrast checker → · Palette generator →

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