#AC2298#AC2298

#AC2298 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.209 H 335.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC2298
RGBrgb(172, 34, 152)
HSLhsl(309, 67%, 40%)
HSVhsv(309, 80%, 67%)
CMYKcmyk(0%, 80.2%, 11.6%, 32.5%)
CIE-LABlab(41.51, 64.84, -32.18)
CIE-LCHlch(41.51, 72.39, 333.61°)
OKLaboklab(52.36% 0.1895 -0.0881)
OKLCHoklch(52.36% 0.209 335.1)
XYZxyz(23.2531, 12.1839, 30.8267)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2298 #22AC36
analogous
#7B22AC #AC2298 #AC2253
triadic
#AC2298 #98AC22 #2298AC
tetradic
#AC2298 #AC7B22 #22AC36 #2253AC
square
#AC2298 #AC7B22 #22AC36 #2253AC
split-complementary
#AC2298 #53AC22 #22AC7B
monochromatic
#460E3E #79186B #AC2298 #D734BF #E167CF

Accessibility & contrast

On white

6.11
#AC2298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC2298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2298
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2298#FFFFFF#000000##FFFFFF
##AC22981.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2298;
/* rgb */ color: rgb(172, 34, 152);
/* oklch */ color: oklch(52.4% 0.209 335.1);
Tailwind
colors: {
  custom: {
    50: '#c96fb6',
    500: '#ac2298',
    950: '#000000',
  },
}
SCSS
$custom: #ac2298;
$custom-light: #c96fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2298",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 308.696,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.20896,
    "h": 335.1
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2298

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

Preview Lab → · Contrast checker → · Palette generator →

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