#AC2881#AC2881

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

Color values

HEX#AC2881
RGBrgb(172, 40, 129)
HSLhsl(320, 62%, 42%)
HSVhsv(320, 77%, 67%)
CMYKcmyk(0%, 76.7%, 25%, 32.5%)
CIE-LABlab(41.02, 59.99, -18.90)
CIE-LCHlch(41.02, 62.90, 342.52°)
OKLaboklab(51.65% 0.1816 -0.0504)
OKLCHoklch(51.65% 0.188 344.5)
XYZxyz(21.7354, 11.8756, 21.9122)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2881 #28AC53
analogous
#9528AC #AC2881 #AC283F
triadic
#AC2881 #81AC28 #2881AC
tetradic
#AC2881 #AC9528 #28AC53 #283FAC
square
#AC2881 #AC9528 #28AC53 #283FAC
split-complementary
#AC2881 #3FAC28 #28AC95
monochromatic
#491137 #7A1C5C #AC2881 #D23FA2 #DE71BA

Accessibility & contrast

On white

6.22
#AC2881 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AC2881 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2881
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2881#FFFFFF#000000##FFFFFF
##AC28811.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385383
Deuteranopia (green-blind)
#61697E
Tritanopia (blue-blind)
#B82652
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2881;
/* rgb */ color: rgb(172, 40, 129);
/* oklch */ color: oklch(51.7% 0.188 344.5);
Tailwind
colors: {
  custom: {
    50: '#c970a5',
    500: '#ac2881',
    950: '#000000',
  },
}
SCSS
$custom: #ac2881;
$custom-light: #c970a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2881",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 319.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51654,
    "c": 0.18845,
    "h": 344.5
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2881

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

Preview Lab → · Contrast checker → · Palette generator →

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