#AC2882#AC2882

#AC2882 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.189 H 344.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AC2882
RGBrgb(172, 40, 130)
HSLhsl(319, 62%, 42%)
HSVhsv(319, 77%, 67%)
CMYKcmyk(0%, 76.7%, 24.4%, 32.5%)
CIE-LABlab(41.06, 60.12, -19.45)
CIE-LCHlch(41.06, 63.19, 342.08°)
OKLaboklab(51.7% 0.1818 -0.0519)
OKLCHoklch(51.7% 0.189 344.1)
XYZxyz(21.8022, 11.9023, 22.2640)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2882 #28AC52
analogous
#9428AC #AC2882 #AC2840
triadic
#AC2882 #82AC28 #2882AC
tetradic
#AC2882 #AC9428 #28AC52 #2840AC
square
#AC2882 #AC9428 #28AC52 #2840AC
split-complementary
#AC2882 #40AC28 #28AC94
monochromatic
#491137 #7A1C5C #AC2882 #D23FA3 #DE71BB

Accessibility & contrast

On white

6.21
#AC2882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC2882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2882
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2882#FFFFFF#000000##FFFFFF
##AC28821.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#B82752
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2882;
/* rgb */ color: rgb(172, 40, 130);
/* oklch */ color: oklch(51.7% 0.189 344.1);
Tailwind
colors: {
  custom: {
    50: '#c970a6',
    500: '#ac2882',
    950: '#000000',
  },
}
SCSS
$custom: #ac2882;
$custom-light: #c970a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2882",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 319.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.18904,
    "h": 344.1
  },
  "luminance": 0.119
}

Semantic roles & 50–950 ramp

primary
#AC2882
secondary
#6BC588
accent
#E57642
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AC2882

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

Preview Lab → · Contrast checker → · Palette generator →

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