#AC288B#AC288B

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

Color values

HEX#AC288B
RGBrgb(172, 40, 139)
HSLhsl(315, 62%, 42%)
HSVhsv(315, 77%, 67%)
CMYKcmyk(0%, 76.7%, 19.2%, 32.5%)
CIE-LABlab(41.46, 61.32, -24.35)
CIE-LCHlch(41.46, 65.98, 338.34°)
OKLaboklab(52.12% 0.1832 -0.0657)
OKLCHoklch(52.12% 0.195 340.3)
XYZxyz(22.4329, 12.1546, 25.5857)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC288B #28AC49
analogous
#8B28AC #AC288B #AC2849
triadic
#AC288B #8BAC28 #288BAC
tetradic
#AC288B #AC8B28 #28AC49 #2849AC
square
#AC288B #AC8B28 #28AC49 #2849AC
split-complementary
#AC288B #49AC28 #28AC8B
monochromatic
#49113B #7A1C63 #AC288B #D23FAD #DE71C3

Accessibility & contrast

On white

6.12
#AC288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AC288B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC288B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC288B#FFFFFF#000000##FFFFFF
##AC288B1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548E
Deuteranopia (green-blind)
#5E6988
Tritanopia (blue-blind)
#B62C57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac288b;
/* rgb */ color: rgb(172, 40, 139);
/* oklch */ color: oklch(52.1% 0.195 340.3);
Tailwind
colors: {
  custom: {
    50: '#c970ad',
    500: '#ac288b',
    950: '#000000',
  },
}
SCSS
$custom: #ac288b;
$custom-light: #c970ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ac288b",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 315,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.19463,
    "h": 340.3
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC288B

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

Preview Lab → · Contrast checker → · Palette generator →

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