#AC2891#AC2891

#AC2891 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.4% C 0.199 H 337.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AC2891
RGBrgb(172, 40, 145)
HSLhsl(312, 62%, 42%)
HSVhsv(312, 77%, 67%)
CMYKcmyk(0%, 76.7%, 15.7%, 32.5%)
CIE-LABlab(41.74, 62.16, -27.56)
CIE-LCHlch(41.74, 67.99, 336.09°)
OKLaboklab(52.42% 0.1839 -0.0749)
OKLCHoklch(52.42% 0.199 337.8)
XYZxyz(22.8834, 12.3348, 27.9583)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2891 #28AC43
analogous
#8528AC #AC2891 #AC284F
triadic
#AC2891 #91AC28 #2891AC
tetradic
#AC2891 #AC8528 #28AC43 #284FAC
square
#AC2891 #AC8528 #28AC43 #284FAC
split-complementary
#AC2891 #4FAC28 #28AC85
monochromatic
#49113D #7A1C67 #AC2891 #D23FB4 #DE71C8

Accessibility & contrast

On white

6.06
#AC2891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AC2891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2891
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2891#FFFFFF#000000##FFFFFF
##AC28911.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5694
Deuteranopia (green-blind)
#5B6A8E
Tritanopia (blue-blind)
#B6305A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2891;
/* rgb */ color: rgb(172, 40, 145);
/* oklch */ color: oklch(52.4% 0.199 337.8);
Tailwind
colors: {
  custom: {
    50: '#c971b1',
    500: '#ac2891',
    950: '#000000',
  },
}
SCSS
$custom: #ac2891;
$custom-light: #c971b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2891",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 312.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.19858,
    "h": 337.8
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#AC2891
secondary
#6BC57D
accent
#E56442
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2891

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

Preview Lab → · Contrast checker → · Palette generator →

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