#AC2873#AC2873

#AC2873 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.181 H 350.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AC2873
RGBrgb(172, 40, 115)
HSLhsl(326, 62%, 42%)
HSVhsv(326, 77%, 67%)
CMYKcmyk(0%, 76.7%, 33.1%, 32.5%)
CIE-LABlab(40.46, 58.29, -11.07)
CIE-LCHlch(40.46, 59.33, 349.24°)
OKLaboklab(51.06% 0.1785 -0.0288)
OKLCHoklch(51.06% 0.181 350.8)
XYZxyz(20.8678, 11.5285, 17.3426)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2873 #28AC61
analogous
#A328AC #AC2873 #AC2831
triadic
#AC2873 #73AC28 #2873AC
tetradic
#AC2873 #ACA328 #28AC61 #2831AC
square
#AC2873 #ACA328 #28AC61 #2831AC
split-complementary
#AC2873 #31AC28 #28ACA3
monochromatic
#491131 #7A1C52 #AC2873 #D23F93 #DE71AF

Accessibility & contrast

On white

6.35
#AC2873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AC2873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2873
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2873#FFFFFF#000000##FFFFFF
##AC28731.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5075
Deuteranopia (green-blind)
#656870
Tritanopia (blue-blind)
#B91E4A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac2873;
/* rgb */ color: rgb(172, 40, 115);
/* oklch */ color: oklch(51.1% 0.181 350.8);
Tailwind
colors: {
  custom: {
    50: '#c96f9b',
    500: '#ac2873',
    950: '#000000',
  },
}
SCSS
$custom: #ac2873;
$custom-light: #c96f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2873",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 325.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.18078,
    "h": 350.8
  },
  "luminance": 0.11526
}

Semantic roles & 50–950 ramp

primary
#AC2873
secondary
#6BC592
accent
#E58942
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AC2873

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

Preview Lab → · Contrast checker → · Palette generator →

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