#AC2498#AC2498

#AC2498 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.207 H 335.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AC2498
RGBrgb(172, 36, 152)
HSLhsl(309, 65%, 41%)
HSVhsv(309, 79%, 67%)
CMYKcmyk(0%, 79.1%, 11.6%, 32.5%)
CIE-LABlab(41.69, 64.31, -31.89)
CIE-LCHlch(41.69, 71.78, 333.63°)
OKLaboklab(52.49% 0.1879 -0.0872)
OKLCHoklch(52.49% 0.207 335.1)
XYZxyz(23.3120, 12.3015, 30.8464)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2498 #24AC38
analogous
#7C24AC #AC2498 #AC2454
triadic
#AC2498 #98AC24 #2498AC
tetradic
#AC2498 #AC7C24 #24AC38 #2454AC
square
#AC2498 #AC7C24 #24AC38 #2454AC
split-complementary
#AC2498 #54AC24 #24AC7C
monochromatic
#470F3F #79196B #AC2498 #D538BE #E06ACF

Accessibility & contrast

On white

6.07
#AC2498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC2498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2498
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2498#FFFFFF#000000##FFFFFF
##AC24981.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569B
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#B5315D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2498;
/* rgb */ color: rgb(172, 36, 152);
/* oklch */ color: oklch(52.5% 0.207 335.1);
Tailwind
colors: {
  custom: {
    50: '#c96fb6',
    500: '#ac2498',
    950: '#000000',
  },
}
SCSS
$custom: #ac2498;
$custom-light: #c96fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2498",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 308.824,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.20718,
    "h": 335.1
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#AC2498
secondary
#66C674
accent
#E8583F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2498

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

Preview Lab → · Contrast checker → · Palette generator →

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