#AC2877#AC2877

#AC2877 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.183 H 349.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AC2877
RGBrgb(172, 40, 119)
HSLhsl(324, 62%, 42%)
HSVhsv(324, 77%, 67%)
CMYKcmyk(0%, 76.7%, 30.8%, 32.5%)
CIE-LABlab(40.61, 58.76, -13.33)
CIE-LCHlch(40.61, 60.25, 347.22°)
OKLaboklab(51.22% 0.1795 -0.0349)
OKLCHoklch(51.22% 0.183 349)
XYZxyz(21.1029, 11.6226, 18.5813)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2877 #28AC5D
analogous
#9F28AC #AC2877 #AC2835
triadic
#AC2877 #77AC28 #2877AC
tetradic
#AC2877 #AC9F28 #28AC5D #2835AC
square
#AC2877 #AC9F28 #28AC5D #2835AC
split-complementary
#AC2877 #35AC28 #28AC9F
monochromatic
#491132 #7A1C55 #AC2877 #D23F97 #DE71B2

Accessibility & contrast

On white

6.32
#AC2877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AC2877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2877
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2877#FFFFFF#000000##FFFFFF
##AC28771.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5179
Deuteranopia (green-blind)
#646874
Tritanopia (blue-blind)
#B9204C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac2877;
/* rgb */ color: rgb(172, 40, 119);
/* oklch */ color: oklch(51.2% 0.183 349.0);
Tailwind
colors: {
  custom: {
    50: '#c9709e',
    500: '#ac2877',
    950: '#000000',
  },
}
SCSS
$custom: #ac2877;
$custom-light: #c9709e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2877",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 324.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.18284,
    "h": 349
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#AC2877
secondary
#6BC58F
accent
#E58442
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AC2877

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

Preview Lab → · Contrast checker → · Palette generator →

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