#AC288A#AC288A

#AC288A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.194 H 340.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AC288A
RGBrgb(172, 40, 138)
HSLhsl(315, 62%, 42%)
HSVhsv(315, 77%, 67%)
CMYKcmyk(0%, 76.7%, 19.8%, 32.5%)
CIE-LABlab(41.41, 61.18, -23.81)
CIE-LCHlch(41.41, 65.65, 338.74°)
OKLaboklab(52.07% 0.1831 -0.0642)
OKLCHoklch(52.07% 0.194 340.7)
XYZxyz(22.3602, 12.1255, 25.2027)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC288A #28AC4A
analogous
#8C28AC #AC288A #AC2848
triadic
#AC288A #8AAC28 #288AAC
tetradic
#AC288A #AC8C28 #28AC4A #2848AC
square
#AC288A #AC8C28 #28AC4A #2848AC
split-complementary
#AC288A #48AC28 #28AC8C
monochromatic
#49113A #7A1C62 #AC288A #D23FAC #DE71C2

Accessibility & contrast

On white

6.13
#AC288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AC288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC288A
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC288A#FFFFFF#000000##FFFFFF
##AC288A1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548D
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#B72C56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac288a;
/* rgb */ color: rgb(172, 40, 138);
/* oklch */ color: oklch(52.1% 0.194 340.7);
Tailwind
colors: {
  custom: {
    50: '#c970ac',
    500: '#ac288a',
    950: '#000000',
  },
}
SCSS
$custom: #ac288a;
$custom-light: #c970ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac288a",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 315.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.19399,
    "h": 340.7
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#AC288A
secondary
#6BC582
accent
#E56C42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC288A

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

Preview Lab → · Contrast checker → · Palette generator →

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