#AC2888#AC2888

#AC2888 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.193 H 341.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AC2888
RGBrgb(172, 40, 136)
HSLhsl(316, 62%, 42%)
HSVhsv(316, 77%, 67%)
CMYKcmyk(0%, 76.7%, 20.9%, 32.5%)
CIE-LABlab(41.32, 60.91, -22.72)
CIE-LCHlch(41.32, 65.01, 339.54°)
OKLaboklab(51.98% 0.1828 -0.0611)
OKLCHoklch(51.98% 0.193 341.5)
XYZxyz(22.2167, 12.0681, 24.4471)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2888 #28AC4C
analogous
#8E28AC #AC2888 #AC2846
triadic
#AC2888 #88AC28 #2888AC
tetradic
#AC2888 #AC8E28 #28AC4C #2846AC
square
#AC2888 #AC8E28 #28AC4C #2846AC
split-complementary
#AC2888 #46AC28 #28AC8E
monochromatic
#491139 #7A1C61 #AC2888 #D23FAA #DE71C0

Accessibility & contrast

On white

6.15
#AC2888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AC2888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2888
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2888#FFFFFF#000000##FFFFFF
##AC28881.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#5F6985
Tritanopia (blue-blind)
#B72B55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2888;
/* rgb */ color: rgb(172, 40, 136);
/* oklch */ color: oklch(52.0% 0.193 341.5);
Tailwind
colors: {
  custom: {
    50: '#c970ab',
    500: '#ac2888',
    950: '#000000',
  },
}
SCSS
$custom: #ac2888;
$custom-light: #c970ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2888",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 316.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.19273,
    "h": 341.5
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#AC2888
secondary
#6BC583
accent
#E56F42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC2888

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

Preview Lab → · Contrast checker → · Palette generator →

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