#AC2398#AC2398

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

Color values

HEX#AC2398
RGBrgb(172, 35, 152)
HSLhsl(309, 66%, 41%)
HSVhsv(309, 80%, 67%)
CMYKcmyk(0%, 79.7%, 11.6%, 32.5%)
CIE-LABlab(41.60, 64.58, -32.03)
CIE-LCHlch(41.60, 72.09, 333.62°)
OKLaboklab(52.42% 0.1887 -0.0877)
OKLCHoklch(52.42% 0.208 335.1)
XYZxyz(23.2821, 12.2419, 30.8364)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2398 #23AC37
analogous
#7B23AC #AC2398 #AC2353
triadic
#AC2398 #98AC23 #2398AC
tetradic
#AC2398 #AC7B23 #23AC37 #2353AC
square
#AC2398 #AC7B23 #23AC37 #2353AC
split-complementary
#AC2398 #53AC23 #23AC7B
monochromatic
#460E3E #79196B #AC2398 #D636BF #E069CF

Accessibility & contrast

On white

6.09
#AC2398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC2398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2398
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2398#FFFFFF#000000##FFFFFF
##AC23981.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2398;
/* rgb */ color: rgb(172, 35, 152);
/* oklch */ color: oklch(52.4% 0.208 335.1);
Tailwind
colors: {
  custom: {
    50: '#c96fb6',
    500: '#ac2398',
    950: '#000000',
  },
}
SCSS
$custom: #ac2398;
$custom-light: #c96fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2398",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 308.759,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.20809,
    "h": 335.1
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#AC2398
secondary
#64C673
accent
#E9583F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC2398

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

Preview Lab → · Contrast checker → · Palette generator →

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