#AC288C#AC288C

#AC288C is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.195 H 339.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC288C
RGBrgb(172, 40, 140)
HSLhsl(315, 62%, 42%)
HSVhsv(315, 77%, 67%)
CMYKcmyk(0%, 76.7%, 18.6%, 32.5%)
CIE-LABlab(41.51, 61.46, -24.89)
CIE-LCHlch(41.51, 66.30, 337.96°)
OKLaboklab(52.17% 0.1833 -0.0673)
OKLCHoklch(52.17% 0.195 339.9)
XYZxyz(22.5063, 12.1839, 25.9723)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC288C #28AC48
analogous
#8A28AC #AC288C #AC284A
triadic
#AC288C #8CAC28 #288CAC
tetradic
#AC288C #AC8A28 #28AC48 #284AAC
square
#AC288C #AC8A28 #28AC48 #284AAC
split-complementary
#AC288C #4AAC28 #28AC8A
monochromatic
#49113B #7A1C64 #AC288C #D23FAF #DE71C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC288C#FFFFFF#000000##FFFFFF
##AC288C1.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)
#32558F
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#B62D57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac288c;
/* rgb */ color: rgb(172, 40, 140);
/* oklch */ color: oklch(52.2% 0.195 339.9);
Tailwind
colors: {
  custom: {
    50: '#c970ae',
    500: '#ac288c',
    950: '#000000',
  },
}
SCSS
$custom: #ac288c;
$custom-light: #c970ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac288c",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 314.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.19528,
    "h": 339.9
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#AC288C
secondary
#6BC581
accent
#E56A42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC288C

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

Preview Lab → · Contrast checker → · Palette generator →

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