#AC288F#AC288F

#AC288F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 338.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AC288F
RGBrgb(172, 40, 143)
HSLhsl(313, 62%, 42%)
HSVhsv(313, 77%, 67%)
CMYKcmyk(0%, 76.7%, 16.9%, 32.5%)
CIE-LABlab(41.65, 61.87, -26.50)
CIE-LCHlch(41.65, 67.31, 336.82°)
OKLaboklab(52.32% 0.1837 -0.0718)
OKLCHoklch(52.32% 0.197 338.6)
XYZxyz(22.7305, 12.2736, 27.1532)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC288F #28AC45
analogous
#8728AC #AC288F #AC284D
triadic
#AC288F #8FAC28 #288FAC
tetradic
#AC288F #AC8728 #28AC45 #284DAC
square
#AC288F #AC8728 #28AC45 #284DAC
split-complementary
#AC288F #4DAC28 #28AC87
monochromatic
#49113C #7A1C66 #AC288F #D23FB2 #DE71C6

Accessibility & contrast

On white

6.08
#AC288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC288F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC288F#FFFFFF#000000##FFFFFF
##AC288F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#5C6A8C
Tritanopia (blue-blind)
#B62F59
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac288f;
/* rgb */ color: rgb(172, 40, 143);
/* oklch */ color: oklch(52.3% 0.197 338.6);
Tailwind
colors: {
  custom: {
    50: '#c970b0',
    500: '#ac288f',
    950: '#000000',
  },
}
SCSS
$custom: #ac288f;
$custom-light: #c970b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac288f",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 313.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.19725,
    "h": 338.6
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#AC288F
secondary
#6BC57F
accent
#E56642
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC288F

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

Preview Lab → · Contrast checker → · Palette generator →

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