#AC2488#AC2488

#AC2488 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.7% C 0.197 H 341.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AC2488
RGBrgb(172, 36, 136)
HSLhsl(316, 65%, 41%)
HSVhsv(316, 79%, 67%)
CMYKcmyk(0%, 79.1%, 20.9%, 32.5%)
CIE-LABlab(40.92, 62.08, -23.36)
CIE-LCHlch(40.92, 66.33, 339.38°)
OKLaboklab(51.68% 0.1863 -0.0629)
OKLCHoklch(51.68% 0.197 341.3)
XYZxyz(22.0888, 11.8123, 24.4045)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2488 #24AC48
analogous
#8C24AC #AC2488 #AC2444
triadic
#AC2488 #88AC24 #2488AC
tetradic
#AC2488 #AC8C24 #24AC48 #2444AC
square
#AC2488 #AC8C24 #24AC48 #2444AC
split-complementary
#AC2488 #44AC24 #24AC8C
monochromatic
#470F38 #791960 #AC2488 #D538AC #E06AC1

Accessibility & contrast

On white

6.25
#AC2488 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AC2488 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2488
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2488#FFFFFF#000000##FFFFFF
##AC24881.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538B
Deuteranopia (green-blind)
#5D6885
Tritanopia (blue-blind)
#B72754
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac2488;
/* rgb */ color: rgb(172, 36, 136);
/* oklch */ color: oklch(51.7% 0.197 341.3);
Tailwind
colors: {
  custom: {
    50: '#c96fab',
    500: '#ac2488',
    950: '#000000',
  },
}
SCSS
$custom: #ac2488;
$custom-light: #c96fab;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2488",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 315.882,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.19667,
    "h": 341.3
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#AC2488
secondary
#66C67F
accent
#E86C3F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC2488

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

Preview Lab → · Contrast checker → · Palette generator →

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